PagerDuty is a platform for digital operations and incident response available from PagerDuty, Inc.
ChaosSearch has a one-directional integration with PagerDuty. It is easy to configure alerts to go right into your PagerDuty account to start notifying the right engineers.
Add a Custom Webhook Integration in ChaosSearch, and start taking advantage of PagerDuty's alert and event management platform with the ChaosSearch alert notification system.
When an alert is triggered in ChaosSearch, an alert is created in PagerDuty automatically through the integration.
The PagerDuty integration has three main steps:
- Configure the PagerDuty integration support for ChaosSearch.
- Add PagerDuty as a destination in ChaosSearch for alerts.
- Create a monitor and trigger to define the alerts that are sent to PagerDuty.
In the PagerDuty application, add an API integration to a service, or use one that has already been created for ChaosSearch.
- Verify that you have a PagerDuty account, and log in to the application.
- Navigate to Services and select Service Directory.
- On the Service Directory page, create a new service or choose from one of
the available services.
- On the Service page, go to the Integrations tab and click Add an Integration.
- On the Add Integrations page, select Events API V2.
- On the new integration, drill down from the right corner icon.
- In the Integration Key field and in the Integration URL (Alert Events) field, copy the values to a text file or other location so that you have them for the step to add a destination later in this process.
- Log in to the ChaosSearch console as a user with Analytics access.
- On the Analytics tab, click Alerting in the left menu area. The Alerts page opens.
- Click Destinations.
- Click Add destination.
- Type a name for your integration such as
- In the Type field, select Custom Webhook. Some additional fields are added to the page.
- Select the Define endpoint by URL option, and specify the following:
- In the Webhook URL field, type or paste the Integration URL (Alert Events) value:
- In the Header information field, click Add header to add a new empty pair of Key/Value fields.
- In the Key field, type
X-Routing-Keyand in the Value field, type the Integration Key from your PagerDuty service definition.
- Click Create.
To create a monitor in ChaosSearch, follow these instructions.
After you create the monitor, you must define the trigger as described in the same instructions.
Configure Actions Section
In the final step of creating a trigger, the Message payload should be configured as follows
Updated 8 months ago