PagerDuty Alert Severity/Class/Group properly set with alert tags or labels in Grafana 8

  • What Grafana version and what operating system are you using?
    MacOS, Grafana 8.1.2

  • What are you trying to achieve?
    Overwrite severity/group/class tag in PagerDuty notifier at AlertRule level

  • How are you trying to achieve it?
    Tried via Labels and annotations on “Create Rule Panel”

I can see in this file [lines 137-168]

that severity/group/class tags can override payload root elements but I have no idea how to set those tags in new Grafana 8 Alerting service. Labels and annotations are not saved as tags.

  • What happened?

Class/Severity/Group were not overwritten.

  • What did you expect to happen?

See properly assigned Class/Severity/Group in PagerDuty.