The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/alerting/configure-notifications/manage-contact-points/integrations/pager-duty.md

2.8 KiB

aliases canonical description keywords labels menuTitle title weight
[../../../alerting-rules/manage-contact-points/integrations/pager-duty/] https://grafana.com/docs/grafana/latest/alerting/configure-notifications/manage-contact-points/integrations/pager-duty/ Configure the PagerDuty integration for Alerting [grafana alerting pagerduty] [{products [cloud enterprise oss]}] PagerDuty Configure PagerDuty for Alerting 400

Configure PagerDuty for Alerting

Use the Grafana Alerting - PagerDuty integration to receive notifications in PagerDuty when your alerts are firing.

Before you begin

To set up PagerDuty for integration with Grafana Alerting, you need to create a PagerDuty account. There are several set up steps to perform within PagerDuty before you set up the integration in Grafana Alerting.

Create a Service

In PagerDuty, a service represents a component, microservice, or infrastructure element that a team oversees, manages, and monitors.

  1. Refer to PagerDuty’s services and integrations guide.

  2. Follow steps 1 to 5 under Create a Service.

{{< admonition type="note" >}} In step 5, choose Create a service without an integration. {{< /admonition >}}

Obtain a PagerDuty integration key

  1. Once the service is created, click Integrations within the Service options.
  2. Click + Add an integration.
  3. Select Events API V2.
  4. Click Add.
  5. Click the drop-down arrow to display the integration details.
  6. Copy the Integration Key.

Procedure

To create your PagerDuty integration in Grafana Alerting, complete the following steps.

  1. Navigate to Alerts & IRM -> Alerting -> Contact points.

  2. Click + Add contact point.

  3. Enter a contact point name. F1. rom the Integration list, select PagerDuty.

  4. In the Integration Key field, copy in your integration key.

  5. Click Test to check that your integration works.

    An incident should display in the Service’s Activity tab in PagerDuty.

  6. Click Save contact point.

Next steps

To add the contact point and integration you created to your default notification policy, complete the following steps.

  1. Navigate to Alerts & IRM -> Alerting -> Notification policies.
  2. In the Default policy, click the ellipsis icon (…) and then Edit.
  3. Change the default policy to the contact point you created.
  4. Click Update default policy.

{{< admonition type="note" >}} If you have more than one contact point, add a new notification policy rather than edit the default one, so you can route specific alerts to PagerDuty. {{< /admonition >}}