> For the complete documentation index, see [llms.txt](https://docs.ilert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ilert.com/integrations/inbound-integrations/dynatrace.md).

# Dynatrace Integration

The ilert Dynatrace integration helps you to easily connect ilert with Dynatrace.

With the ilert Dynatrace integration, you can add alerts in ilert based on problems from Dynatrace. ilert is now available as a native app in the Dynatrace Hub, so you can install it directly in Dynatrace and forward problems to ilert through a workflow — no custom HTTP request template required.

## In ilert: Create a Dynatrace alert source <a href="#create-alert-source" id="create-alert-source"></a>

1. Go to **Alerting** → **Alert sources** and click **Create new alert source**.
2. Search for **Dynatrace**, click its tile, and click **Next**.
3. Give your alert source a name, optionally assign teams, and click **Next**.
4. Choose who gets notified: select **Use existing escalation policy** and pick a policy, or **Generate new escalation policy** to start with a basic one that notifies you first. Click **Next**.

   <figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-8a281bf3931f5a1a531951ce97984d50989dd875%2Falert-source-escalation-step.png?alt=media" alt="The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below."><figcaption><p>Pick an existing escalation policy, or generate a basic one without leaving the wizard.</p></figcaption></figure>
5. Select **Default grouping** and click **Continue setup**. It groups events by the alert key the integration sets; the other [grouping options](/alerting/configure-alerting/alert-sources.md#event-grouping) are easier to judge once events are arriving.
6. The next page shows more settings, such as notification priority and alert templates. Click **Finish setup** for now; you can change them later.
7. On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

## In Dynatrace: Install and configure the ilert app <a href="#in-dynatrace" id="in-dynatrace"></a>

1. In Dynatrace, click on **Hub**, search for the **ilert** app and click **Install**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-a00772e15b27d285e546bb8b1db40ba2ca07fb32%2Fdynatrace-native-01-hub-install.png?alt=media" alt=""><figcaption></figcaption></figure>

2. Go to **Settings**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-66871e87443d0c6e45391e35c41c41aa5655779f%2Fdynatrace-native-02-settings.png?alt=media" alt=""><figcaption></figcaption></figure>

3. Open **Apps** --> **ilert connections**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-62e23ebb3eab39efefd8fa86eb6ae1c26e91838e%2Fdynatrace-native-03-ilert-connections.png?alt=media" alt=""><figcaption></figcaption></figure>

4. Click **Add item**, choose a name and paste the **webhook URL** generated in the previous ilert step. Click **Save**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-fb797a2ac990420bf0ed719a0b6c7bdaa4125a6b%2Fdynatrace-native-04-add-connection.png?alt=media" alt=""><figcaption></figcaption></figure>

5. Go to **Workflows**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-af6c9dbe59e2034252cc79f9ea099e25ee357b9f%2Fdynatrace-native-05-workflows.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Add a **Problem trigger**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-5abd4dfc588b66b8ee3898db98da751a1bf3d43f%2Fdynatrace-native-06-problem-trigger.png?alt=media" alt=""><figcaption></figcaption></figure>

7. Edit the relevant trigger settings to match the problems you want to forward to ilert.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-faf9b8d2509f1906a4c1184f91d5d9791014dbda%2Fdynatrace-native-07-trigger-settings.png?alt=media" alt=""><figcaption></figcaption></figure>

8. Click **Add action**.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-bd1fbc41768c6a907d8459a8cc40dc2777b95054%2Fdynatrace-native-08-add-action.png?alt=media" alt=""><figcaption></figcaption></figure>

9. Under the **ilert** app, choose the **Send event in ilert** action.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-036d15f5c541088a5202a1f15e1c78ff68167294%2Fdynatrace-native-09-send-event.png?alt=media" alt=""><figcaption></figcaption></figure>

10. Configure the action settings (select the ilert connection you created), then **Save** and **Deploy** the workflow.

<figure><img src="https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M76ygPnS4HUcFSX8ulm%2Fuploads%2Fgit-blob-5d6856799fbdc716fd28292ef84f3554446c45f9%2Fdynatrace-native-10-save-deploy.png?alt=media" alt=""><figcaption></figcaption></figure>

The integration is now set up. Dynatrace problems that match your workflow trigger will create alerts in ilert.

## FAQ <a href="#faq" id="faq"></a>

**Will alerts in ilert be resolved automatically?**

Yes, as soon as the recovery conditions of application, server or database are met, the alert in ilert will be resolved automatically.

**Can I setup Dynatrace with multiple alert sources from ilert?**

Yes, you can create arbitrary mappings between your problems in Dynatrace and alert sources in ilert. Simply add an additional ilert connection with the webhook URL of the other alert source, and point a workflow action to it.

**Can I customize the alert messages?**

Yes, you can customize the events sent to ilert by adjusting the settings of the **Send event in ilert** action in your Dynatrace workflow.

## Legacy: HTTP Request Template (Problem Notifications) <a href="#legacy" id="legacy"></a>

{% hint style="info" %}
This method is kept for existing setups. For new integrations we recommend using the native ilert app from the Dynatrace Hub described above.
{% endhint %}

1. Go to **Settings** --> **Integration** --> **Problem Notifications** and click on **Set up notifications** to add a new template

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_1sjI0UMbCSiTGgPH%2F-M9_4Kzz-8dAhq5dGdK-%2Fdyn1.png?alt=media\&token=95403cb6-ee9f-4c57-933b-e0888b931c25)

2. Select **Custom integration**

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_1sjI0UMbCSiTGgPH%2F-M9_4NulIAy3yLS04uju%2Fdyn2.png?alt=media\&token=980de5da-fd8d-425d-a049-ae7a45bd9908)

3. In the **Name** section, enter a name (e.g. "ilert Notification")
4. In the **Webhook URL** section, set the **Webhook URL** to the one generated in ilert
5. In the **Additional HTTP Headers** section, add the following headers `Accept`: `application/json` and `Content-Type`: `application/json`
6. In the *Custom payload* section, set the MIME type to `application/json` and copy and paste the following JSON payload:

```
{
 "State": "{State}",
 "ProblemID": "{ProblemID}",
 "ProblemTitle": "{ProblemTitle}",
 "ProblemURL": "{ProblemURL}",
 "ProblemDetailsText": "{ProblemDetailsText}"
}
```

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_1sjI0UMbCSiTGgPH%2F-M9_4VkWr-Rr35r2Q0N5%2Fdyn3.png?alt=media\&token=fbf46d9a-8140-4dba-879d-87f4d3c7904a)

7. Click the **Send test notification** button and you should receive a **Custom integration test successful** dialog message

![](https://3394882078-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M76ygPnS4HUcFSX8ulm%2F-M9_1sjI0UMbCSiTGgPH%2F-M9_4Z-I8YzczxGawilD%2Fdyn4.png?alt=media\&token=af063da5-dd19-4994-bf30-a7190a1d2d6a)

8. Click **Save**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ilert.com/integrations/inbound-integrations/dynatrace.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
