For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dynatrace Integration Guide

Send problem notifications through webhooks.

Configure Dynatrace to send webhook notifications to Harness AI SRE when problems are detected.

Before you begin

  • Harness webhook endpoint: Create a Dynatrace webhook in Harness AI SRE using the Dynatrace webhook template.

  • Dynatrace permissions: Access to configure problem notifications and integrations.

  • Webhook URL: Copy the webhook URL from your Harness webhook configuration.

  • Dynatrace webhook documentation: Go to Problem Notifications to understand notification configuration.

  • Webhook integration reference: Go to Webhook Integration for webhook-specific setup.


Create webhook notification in Dynatrace

Open the problem notifications page to add a custom integration:

  1. In Dynatrace, go to Settings, then Integration, then Problem notifications

  2. Click Add notification

  3. Select Custom integration

Configure webhook

Configure these fields:

  • Display name: Harness AI SRE

  • Webhook URL: Your Harness webhook URL

  • Notification settings: Configure when to call the webhook

    • Call the webhook when new events merge into an existing problem

    • Notify the webhook when a problem closes (in addition to the default open-problem notification)

Use a custom payload template:

{
  "State": "{State}",
  "ProblemID": "{ProblemID}",
  "ProblemTitle": "{ProblemTitle}",
  "ProblemDetails": "{ProblemDetailsText}",
  "ImpactedEntity": "{ImpactedEntity}",
  "ProblemSeverity": "{ProblemSeverity}",
  "ProblemURL": "{ProblemURL}",
  "Tags": "{Tags}"
}

Dynatrace filters which problems trigger the webhook through an alerting profile assigned to the notification, rather than through filter fields on the notification screen itself. Configure the alerting profile to filter by:

  • Severity: Availability, Error, Slowdown, Resource, Custom, or Monitoring unavailable

  • Tags: Filter by specific tags

  • Management zones: Limit to specific zones

  • Problem duration and text filters: Further narrow which problems generate notifications

Test the notification

Send a test notification and activate it:

  1. Click Send test notification

  2. Verify the test appears in Harness AI SRE

  3. Click Save to activate the notification


Configure field mapping in Harness

Map Dynatrace problem fields to Harness alert properties.

Basic field mapping example

Advanced filtering with CEL


Available Dynatrace fields

Field
Description
Example

State

Problem state

OPEN, RESOLVED

ProblemID

Unique problem identifier

-1234567890123456789_1234V2

ProblemTitle

Problem summary

Response time degradation

ProblemDetails

Detailed description

Response time increased by 200%

ImpactedEntity

Affected entity name

SERVICE-ABC123

ProblemSeverity

Severity level

ERROR, WARNING

ProblemURL

Link to problem in Dynatrace

https://abc123.live.dynatrace.com/...

Tags

Associated tags

environment:production


Troubleshooting

Dynatrace webhook is not triggering for Harness AI SRE

Verify the notification is enabled in Dynatrace, check that the problem severity matches your filter criteria, use 'Send test notification' to verify the webhook URL, and review the Dynatrace notification logs.

Dynatrace problems are not creating alerts in Harness AI SRE

Check that the CEL filter expressions allow the problem through, verify required fields (title, message) are mapped, test with a simpler payload first, and review the Harness webhook logs for errors.

Dynatrace is creating duplicate alerts for the same problem in Harness AI SRE

Use the problem ID for deduplication in route alerts, configure Dynatrace to only send 'Open problems' notifications, and add the CEL filter webhook.State == 'OPEN'.


Next steps


Dynatrace official documentation

Last updated

Was this helpful?