Dynatrace Integration

Just a quick run-through on how to automatically push Dynatrace problems to our on-call platform using a webhook.

1. Create the workflow Head over to the Workflows menu on the left panel. The list will be empty if you haven't made one before. Just click the button at the top right to start a new one.

2. Set up the trigger We want this to run whenever an alert pops up, so grab the Davis problem trigger. In the configuration panel on the right, set it up like this:

  • Event state: Keep it as active (we only care about ongoing issues).

  • Event category: Add the ones you need. Usually, it's Availability, Custom, Error, Monitoring unavailable, Resource, Slowdown, and Info.

3. Configure the HTTP Request Now drop an HTTP Request action right below your trigger. This is what actually sends the payload out.

  • Method: POST

  • URL: Drop the on-call platform's webhook URL here (I'm using webhook.site for testing).

  • Payload: You can just copy and paste the JSON block below. It basically maps the Dynatrace variables to the format our system expects.

JSON

4. Allowlist the domain (Don't skip this) By default, Dynatrace blocks all external outgoing requests. If you skip this, your webhook will just fail. Go to Settings > General > External requests. Click over to the Allowlist tab and hit + New host pattern. Type in just the domain name (like webhook.site) without the https:// stuff and save it.

5. Deploy Once everything looks good, click Deploy at the top right. It’ll prompt you to save, so just hit Save and deploy to push it live.

6. Test the flow Let's make sure it actually fires. Hit the "Run" button on the canvas to trigger a test execution. Check the logs at the bottom of the Dynatrace screen—you should see a green Success status.

Finally, check the receiving end. If you look at the webhook endpoint, you should see the POST request drop in with our JSON payload filled with dummy data (like P-TEST-001).

Last updated

Was this helpful?