Menu
DocumentationGrafana documentationAlertingConfigureConfigure contact pointsConfigure contact point integrationsPagerDuty
Grafana Cloud
Enterprise
Open source
Configure PagerDuty for Alerting
To set up PagerDuty, provide an integration key.
Setting | Description |
---|---|
Integration Key | Integration key for PagerDuty |
Severity | Level for dynamic notifications, default is critical |
Custom Details | Additional details about the event |
The CustomDetails
field is an object containing arbitrary key-value pairs. The user-defined details are merged with the ones we use by default.
Our default values for CustomDetails
are:
Go
{
"firing": `{{ template "__text_alert_list" .Alerts.Firing }}`,
"resolved": `{{ template "__text_alert_list" .Alerts.Resolved }}`,
"num_firing": `{{ .Alerts.Firing | len }}`,
"num_resolved": `{{ .Alerts.Resolved | len }}`,
}
In case of duplicate keys, the user-defined details overwrite the default ones.
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video
Getting started with the Grafana LGTM Stack
In this webinar, we’ll demo how to get started using the LGTM Stack: Loki for logs, Grafana for visualization, Tempo for traces, and Mimir for metrics.
Video
Getting started with Grafana dashboard design
In this webinar, you'll learn how to design stylish and easily accessible Grafana dashboards that tell a story.
Video
Building advanced Grafana dashboards
In this webinar, we’ll demo how to build and format Grafana dashboards.