> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding Dynatrace as an alert source

> Send Dynatrace problem notifications into incident.io to page the right people and open incidents.

Dynatrace detects problems across your hosts, services and applications. Connect it to
incident.io and every Dynatrace problem notification becomes an incident.io alert, so you can
route it to a team, escalate to whoever is on call, and open an incident when one matters.

| | |
| - | - |
| **Plans** | All plans |
| **Connects with** | An alert source. Dynatrace sends a custom integration webhook to incident.io when a problem opens or closes |
| **What you get** | [Alerts](https://docs.incident.io/alerts/getting-started.md) and [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md) to route, escalate and declare incidents from |

## Step 1: create the alert source

1. Go to [Alerts](https://app.incident.io/~/on-call/alert-routes/sources) in your incident.io dashboard
   and select the **Sources** tab.
2. Press **Create source**, search for **Dynatrace**, and continue.
3. Give it a name.

The setup page shows a **Name**, a **URL** and a **Payload** to paste into Dynatrace. Keep it
open for the next step.

## Step 2: connect Dynatrace

In Dynatrace:

1. Go to **Settings → Integrations → Problem Notifications**, press **Add notification**, and
   choose **Custom Integration**.
2. Paste the **Name** from incident.io into **Display name**. Turn on **Secret webhook URL** and
   paste the **URL** into **Webhook URL**.
3. Turn on **Call webhook if problem is closed**. Without it, alerts won't resolve.
4. Paste the **Payload** into **Custom payload**, keeping the placeholders as they are, and save.

## How alerts behave

* **Title and description.** The alert title is the problem title, the description is the
  problem details, and the alert links back to the problem in Dynatrace.
* **Deduplication.** Every notification for the same problem ID (`PID`) updates one alert.
* **Resolution.** The alert resolves when Dynatrace sends the state `RESOLVED`.
* **Attributes.** Use the severity, impact, impacted entities or their tags to set
  [alert attributes](https://docs.incident.io/alerts/attributes-and-priorities.md), for example to map `team:payments` to a
  team. Dynatrace doesn't send the management zone.

## Step 3: check it works

Press **Send test notification** in Dynatrace, or wait for a problem to open. The alert should
appear on the alert source page in incident.io within a few seconds.

If nothing arrives, check **Recent requests** on that page. Every request Dynatrace sent is
listed there, including any that were rejected, with the reason.

***

Can't find the alert source you are looking for? Head to our
[integrations page](https://incident.io/integrations) or message us at
[support@incident.io](mailto:support@incident.io).
