Robert Fraser
Robert Fraser

Reputation: 10927

Grafana Alert Webhook - What are the possible states?

I'm looking at the Grafana alert notification documentation:

http://docs.grafana.org/alerting/notifications/

And I gotta say it's quite sparse. The example web hook shows: "state": "Alerting". From my tests, the actual value is "alerting" (lower case), and there's also an "ok" value for when it's all good. The dashboard also suggests there might be a "no data" state, although I haven't been able to repro this.

Is there any more detailed documentation, or better examples of what I can expect from the web hook JSON?

Upvotes: 2

Views: 4119

Answers (1)

Daniel Lee
Daniel Lee

Reputation: 7969

The possible values are ok, paused, alerting, pending, no_data.

The documentation is now updated: http://docs.grafana.org/alerting/notifications/#webhook

Anything else you would like added to the docs for the webhook?

Upvotes: 3

Related Questions