Your Dynatrace environment can integrate with a PagerDuty environment using PagerDuty , enabling you to create incidents, based on your monitoring data automatically.
To use PagerDuty workflow actions, you first need to install the PagerDuty from Dynatrace Hub.
Some permissions are required by Workflows to run actions on your behalf. Other permissions are required by actions that come bundled with PagerDuty Connector itself.
To fine-tune permissions granted to Workflows
app-settings:objects:read
state:app-states:read
state:app-states:write
state:app-states:delete
For more on general Workflows user permissions, see User permissions for workflows.
To interact with PagerDuty, you need an API key. To learn how to obtain it, refer to the PagerDuty official documentation.
You need a configured connection for each of your PagerDuty environments.
To configure a connection
The following workflow actions are available for the PagerDuty integration. Each action corresponds to an endpoint of the PagerDuty API.
Action
Description
PagerDuty API endpoint
Create an incident
Creates an incident in your PagerDuty environment. An incident represents a problem or an issue that needs to be addressed and resolved.
Use other actions to obtain the necessary input.
List escalation policies
Lists PagerDuty escalation policies. An escalation policy defines who to notify (and how) in case of an incident.
List priorities
Lists PagerDuty priorities. A priority defines the importance of an incident. The list is ordered from the most to the least severe.
List services
Lists PagerDuty services. A service represents an application, component, or team to which you want to map the incident.
To create an incident, you need to provide the information listed below. You can hard-code them in the Create an incident action or extract them from PagerDuty via an appropriate action.
For more details on each parameter, refer to Create an incident in the PagerDuty official documentation.
To create a workflow that raises a PagerDuty incident
PagerDuty
and select one of the information-extracting actions.PagerDuty
, and select Create an incident.The following are solutions to problems some people have.