Severity and state mappings for Grafana v8.x
Alert priority and resolution state mapping between Grafana and Incident Response.
Grafana alert priority mapping
Grafana’s alert priority is based on two fields in the payload. The fields of interest are:
If you provide severity as a custom label in an alert rule, Grafana picks up the severity field value from payload. If severity is not added as a label, then severity is set as per the alert state.
|Alert state||Severity state|
|Grafana payload field||Grafana payload value||Incident Response alert priority value|
|1||P1 - CRITICAL|
|2||P2 - MAJOR|
|3||P3 - MINOR|
|4||P4 - WARNING|
|5||P5 - OK|
Grafana resolution state mapping
The field of interest is:
|Grafana payload field||Grafana payload value||Incident Response alert state value|
Note: If you require any other severity and state mappings, use the Generic webhook integration.