Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails on API request failed: create report faileds: failed to fetch alerts: get monitor for alert ****: unknown monitor type: query #136

Open
heleeen opened this issue Mar 31, 2024 · 2 comments

Comments

@heleeen
Copy link

heleeen commented Mar 31, 2024

Thank you for resolving the issue #122 😊
I also encountered an error while using shimesaba. The error message is as follows:

2024/04/01 01:56:11 [error] service level objective[id=******]: create report faileds: failed to fetch alerts: get monitor for alert `******`: unknown monitor type: query

I think it's because Mackerel now supports labeled metrics alerts.
https://mackerel.io/ja/blog/entry/2024/03/22/190000 (Jepanese only)

I’m happy when shimesaba should support the query monitor format, but since query monitor is in beta, I would like to hear your opinion on how it should be supported.

Environment

  • OS version: macOS Sonoma 14.2.1
  • shimesaba version: v1.4.1

Command

$ shimesaba \
-config "./config.yml" \
-mackerel-apikey "******" \
--debug
@mashiike
Copy link
Owner

mashiike commented Apr 1, 2024

I will respond immediately.

Essential support requires a contribution to https://github.com/mackerelio/mackerel-client-go, so please wait a little longer.

The API seems to be compatible, so I think I'll create a PR that the SDK will support.

@heleeen
Copy link
Author

heleeen commented Apr 1, 2024

Thank you for your response!
I'm sorry for taking your time 😣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants