OpsGenie integration

Dynatrace offers an out-of-the-box OpsGenie integration that automatically pushes Dynatrace problem notifications to your OpsGenie environment at multiple regions.

To set up OpsGenie problem-notification integration

  1. Navigate to Settings > Integration > Problem notifications.

  2. Click Set up notifications and select OpsGenie.

The Set up OpsGenie integration page is displayed.

OpsGenie region domain

  1. Enter the following information:

    • Display name User-defined display name that distinguishes this unique integration from other integrations.
    • OpsGenie API key Switch over to your OpsGenie account and set up Dynatrace integration. Insert the generated OpsGenie API key into this field.
    • OpsGenie region domain Select any OpsGenie region by starting to type the region’s endpoint. If this field is left empty, the US region is selected by default.
    • Message
      Custom message field that can contain text and problem-related placeholders.
  2. Finalize, send a test notification, and click Save.

  3. Use the Notification level switches to control the types of problem notifications that are sent to the target system (problems with Applications, Services, and/or Infrastructure).

  4. Before you save your OpsGenie integration setup, click Send test notification to perform a test run and ensure that the provided OpsGenie API key is valid.

Available placeholders

  • {ProblemID}: ID number of the reported problem.
  • {PID}: Unique system identifier for the reported problem.
  • {ProblemImpact}: Impact level of the problem. Possible values are APPLICATION, SERVICE, or INFRASTRUCTURE.
  • {ProblemTitle}: Short description of the problem.

Problem notifications automatically fill in these placeholder values and include them in the corresponding OpsGenie incidents. OpsGenie incidents are automatically created when problems are detected and closed when problems are resolved. Incident details contain the detailed problem information as well as a direct link to the problem in Dynatrace.

Priority levels

Dynatrace availability problems are mapped to OpsGenie P1 incidents, error problems are mapped to P2, slowdowns are mapped to P3, and so on. Dynatrace also pushes the tags of all problem-affected components along with each OpsGenie incident.

The problem URL contains the pure backlink to the Dynatrace environment that pushed the problem incident.

The following image shows a Dynatrace-detected problem pushed over to OpsGenie. The alert includes:

  • tags of all problem-affected entities
  • a link back to the problem in Dynatrace
  • the problem severity detected by Dynatrace mapped to the corresponding OpsGenie priority value.

OpsGenie card