Create a PagerDuty notifier
To create a PagerDuty notifier, create a service in PagerDuty and then create the notifier in Chronosphere.
Create a new service in PagerDuty
Before creating a PagerDuty notifier in Chronosphere, you must configure the notifier in PagerDuty.
To configure a PagerDuty notifier:
- In PagerDuty, go to Services > Service Directory and click New Service.
- Enter a name and description for the service and follow the remaining prompts.
- Select Prometheus from the integration types list and create the service.
- After PagerDuty redirects you to the new service, click the Integrations tab, which displays the integration key.
- Copy the integration key, which you enter when creating a PagerDuty notifier in Chronosphere.
The PagerDuty v1 Event API (opens in a new tab)
uses a service_key
, and the
PagerDuty v2 Event API (opens in a new tab)
uses a routing_key
.
If you're using the PagerDuty v2 Event API, create your notifier with either
Terraform or Chronoctl. You can specify only a service_key
in the Chronosphere app.
Next, create a PagerDuty notifier in Chronosphere.
Create a PagerDuty notifier in Chronosphere
After creating a service in PagerDuty, you can create a PagerDuty notifier in Chronosphere.
To create a PagerDuty notifier:
-
In the navigation menu select Alerts > Notifiers.
-
Click Create Notifier.
-
Enter a descriptive name for the notifier.
-
Select PagerDuty as the type of notifier you want to create.
-
In the Service key field, enter the integration key you created in PagerDuty.
-
In the URL field, enter a URL, which is called as a
POST
request. For example:https://events.pagerduty.com/generic/2010-04-15/create_event.json
⚠️Don't use the default value from PagerDuty in the URL field. You must enter the specified URL or the PagerDuty integration returns an error message.
-
In the Severity dropdown, select a severity for the event.
-
Click Save.