-
-
Notifications
You must be signed in to change notification settings - Fork 354
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
Change in JSON payload in latest version of Grafana #1676
Comments
You can use Grafana's 'Alertmanager' contact point type instead though to send to Alerta's 'Prometheus' webhook (f.e. http://alerta-server:8080/api/webhooks/prometheus?api-key=demo-key) , works like a charm! |
So in this case we would need to run alertmanager ? or just use alertmanager and just webhook of alerta for prometheus instead of alertmanager url? |
The latter. You don't need to run an actual Prometheus Alertmanager for this. "AlertManager" in this case describes the protocol for communicating the alarm messages, not the software. Grafana is capable of emitting its alarms in the AlertManager format, and Alerta is capable of receiving alarms in the AlertManager format. It's just that the webhook in Alerta is called "prometheus", and we have Grafana mimicking Prometheus here, which makes things a bit confusing. |
I tested out in grafana when I mention alertmanager as notification and try to put the alerta prometheus webhook it doesnt work even test alert fails |
Hi, does not work but with the alertmanager / prometheus target it works almost 100% Is there a fix planned? |
v9.0.3 not resolve problem Payload(json) receive in logs
|
yes, there have been multiple changes to the grafana alerting (unfortunately), it seems like it has "somewhat" stabilized.. pull requests are welcome to fix the problem ;-) |
In new version of Grafana they have changed JSON payload format, therefor not compatible with grafana webhook in Alerta.
https://grafana.com/docs/grafana/latest/alerting/unified-alerting/contact-points/
The text was updated successfully, but these errors were encountered: