-
Notifications
You must be signed in to change notification settings - Fork 34
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
Alert Notifications and Channel Are Deprecated, Add support for New Alerting Entities #134
Comments
This is a bit more involved than I had anticipated. I may push this back to another release. But for this to really be useful, from what I'm reading on: https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/ We would need: Required:
Nice to Have:
I need to dig a bit more into this but will push this back a bit. |
I filed grafana/grafana#76578 which may be blocking some of the issues you ran into here. The OpenAPI spec provided by Grafana is broken for their new provisioning API, which includes alert rules, contact points, mute timings, and policies. |
Oh thanks, I actually ran into that recently and even opened up a ticket for them as well. grafana/grafana#76386. I'd like to start doing some work on this, at least the contact points should be easy enough to add. Thanks for the link @mbarrien |
@mbarrien I'm dropping the legacy support in 0.6.0. I'll try to address this in 0.6.1. Is there any particular priority that is more pressing for you? I think there's 4 Entities at least listed in the ticket. This feature might not have much value without all of them but wanted to call it out to see if any particular order makes sense. |
#302 ContactPoints. This is essentially done. (ContactPoints I mean). The 'email receiver' is super weird for some reason so GDG will ignore it. Otherwise everything else seems to work. |
Bug in AlertRules blocking for now: grafana/grafana-openapi-client-go#102 |
Task List
Remove all the Alert Notifications code and replace with the newly updated entities.
https://grafana.com/docs/grafana/latest/developers/http_api/alerting_provisioning/
Channels are now Contact Points
Alert Rules would replace the Notifications.
The text was updated successfully, but these errors were encountered: