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

**URL:** <https://community.grafana.com/t/pagerduty-alert-severity-class-group-properly-set-with-alert-tags-or-labels-in-grafana-8/53485>\
**Category:** Alerting\
**Tags:** alerting\
**Created:** [September 18, 2021, 2:21pm UTC](https://community.grafana.com/t/pagerduty-alert-severity-class-group-properly-set-with-alert-tags-or-labels-in-grafana-8/53485 "2021-09-18T14:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![elrot](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@elrot](https://community.grafana.com/u/elrot)\
**Post date:** [September 18, 2021, 2:21pm UTC](https://community.grafana.com/t/pagerduty-alert-severity-class-group-properly-set-with-alert-tags-or-labels-in-grafana-8/53485/1 "2021-09-18T14:21:57Z")

</div>

- 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]

> <https://github.com/grafana/grafana/blob/v8.1.2/pkg/services/alerting/notifiers/pagerduty.go>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/grafana/original/2X/e/ef5308cc58c9e5a13187b5012eb99f406928462f.png) [@system](https://community.grafana.com/u/system)\
**Post date:** [September 18, 2022, 2:22pm UTC](https://community.grafana.com/t/pagerduty-alert-severity-class-group-properly-set-with-alert-tags-or-labels-in-grafana-8/53485/2 "2022-09-18T14:22:37Z")

</div>

Closed on September 18, 2022, 2:22pm UTC

This topic was automatically closed after 365 days. New replies are no longer allowed.
