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

Make annotations but not alerts appear in the calendar panel #109

Closed
gomgomshrimp opened this issue Jul 26, 2023 · 9 comments · Fixed by #119 or #121
Closed

Make annotations but not alerts appear in the calendar panel #109

gomgomshrimp opened this issue Jul 26, 2023 · 9 comments · Fixed by #119 or #121
Assignees
Labels
question Further information is requested

Comments

@gomgomshrimp
Copy link

gomgomshrimp commented Jul 26, 2023

We are receiving Kubernetes deployment completion status through grafana annotations api.
Are there any plans to add something to make annotations appear in the calendar panel but not alerts?

스크린샷 2023-07-26 08 55 04

As you can see in the attached screenshot, the time series panel can only show annotations, but the calendar will always show annotations and alerts together.

This is quite inconvenient for users who use alerts a lot, and I think it would be better if only annotations could be displayed.

If there's a way to do this that I'm not aware of, please let me know.

@gomgomshrimp
Copy link
Author

schema-around-config
I found the Grafana HTTP API Data Source in one of your labs.
From the picture, it looks like I can filter the annotations.
Could this be a solution?

@mikhail-vl mikhail-vl self-assigned this Jul 27, 2023
@mikhail-vl mikhail-vl added the question Further information is requested label Jul 27, 2023
@mikhail-vl
Copy link
Member

@gomgomshrimp, The calendar panel uses Annotation API calls to retrieve annotations within the time range. There is no options to filter annotation in the panel.

I have not tried the HTTP API Data Source with the Calendar panel, but I believe it should work.
Let me know if it works for your use case. There are YouTube tutorials if you need any help to configure it.

@Glafkon
Copy link

Glafkon commented Aug 2, 2023

Alert annotations don't go away when "Annotations" on widget settings is "Disabled".
image
Even when the alert rule is deleted, these annotations remain on the calendar. Use in this format is not possible :(
Grafana v.10.0.3
Plugin Calendar v.2.0.0

@mikhail-vl
Copy link
Member

@Glafkon Thank you for reporting the issue. Please keep issues separate for tracking.

I found the issue and missing tests. We will add tests and release a new 2.0.1 fix tomorrow.

@mikhail-vl
Copy link
Member

@Glafkon We released a new version and submitted to the Grafana team for review.

Screenshot 2023-08-03 at 12 44 45

@Glafkon
Copy link

Glafkon commented Aug 4, 2023

@Glafkon We released a new version and submitted to the Grafana team for review.

Screenshot 2023-08-03 at 12 44 45

Hello. I confirm, the problem with the display of events (alert rules) after installing 2.0.1 was resolved. I will be watching for further work. Thanks!

@mikhail-vl
Copy link
Member

@Glafkon Thank you for confirming.

@gomgomshrimp
Copy link
Author

@mikhail-vl
Sorry for the delayed response due to vacation.
If I upgrade to the 2.0.1 version of the calendar plugin, will this also be a workaround for the first issue I asked about?

@mikhail-vl
Copy link
Member

@gomgomshrimp Selection for Alerts and Annotations with Max Limit will be added in #121.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
3 participants