Elastic APM is an application performance monitoring system built on the Elastic Stack. It allows one to monitor software services and applications in real-time, by collecting detailed performance information on response time for incoming requests, database queries, calls to caches, external HTTP requests, and more.

With the Zenduty-Elastic APM integration, you will be able to create new Incidents/Alerts in Zenduty whenever any rule in Elastic APM is breached/violated.

To integrate Elastic APM with Zenduty, complete the following steps:

In Zenduty:

  1. To add a new Elastic APM integration, go to “Teams” on Zenduty and click on the “Manage” button corresponding to the team you want to add the integration to.

  2. Next, go to “Services” and click on the “Manage” button corresponding to the relevant Service.

  3. Go to “Integrations” and then “Add New Integration”. Give it a name and select the application “Elastic APM” from the dropdown menu.

  4. Go to “Configure” under your Integrations and Copy the generated Webhook URL.

In Elastic APM:

  1. Log into Elastic, and launch the APM application.

  2. Click the Sidebar which opens up the navigation and navigate to “Stack Management” under “Management”.

  3. Now under “Alerts and Insights” tab, navigate to “Alerts and Actions”.

  4. Then select the “Connectors” tab and Create a new Connector by clicking the “Create Connector” button.

  5. Proceed by creating a Webhook connector.

  6. Paste the previously copied URL and set the method to “POST”. Also set a suitable name for the Webhook Connector & Save the Connector.

  7. Proceed by creating alerts which has the “Webhook” action, and then choose the Webhook Connector that was made earlier.

  8. One can get fields for creating the threshold Alerts by creating alerts from a specific APM service itself.

  9. For the body of the Alert being sent, a JSON object should be sent that is having the fields :
    • title
    • id (This would be considered the entityId.)
    • description
    • status (If the status is set to “Breached” or “Triggered” -> It would create a Critical Alert.)
    StatusAlert Type

    An example body would be :

    "title":"[ElasticAPM] - {{alertName}}",
    "description":"The alert '{{alertName}}' was triggered when the threshold of '{{context.threshold}}' was breached with the value : '{{context.triggerValue}}' ",

  10. Proceed to create the Alert.

  11. Elastic APM is now integrated with Zenduty.

Respond to Elastic APM Integration alerts faster

Looking for a better way to get real-time alerts from Elastic APM Integration, setup a solid incident escalation and incident response pipeline and minimize response and resolution times for Elastic APM Integration incidents?

Signup for a free trial

Copyright © 2023 Zenduty