AppDynamics Logo

AppDynamics Integration Guide

AppDynamics is an application performance management system. It primarily focuses on providing solutions and analytics tools to help companies to manage the their cloud environment. AppDynamics can be configured with TaskCall to effectively get on-call responders to resolve alarming system performance levels.

  • The integration is between a TaskCall service and AppDynamics.
  • Incidents will automatically resolve in TaskCall when metrics fall back within the normal threshold.
  • This integration only receives alerts in TaskCall from AppDynamics.
In TaskCall
  1. Go to Configurations > Services . Select the service you want to integrate with.
  2. Once you are on the Service details page, go to the Integrations tab. Click on New Integration.
  3. Give the integration a name.
  4. From the integration types, select the top radio button indicating that you are trying to use a built-in integration.
  5. From the list of built-in integrations, select AppDynamics.
  6. Click Save.
  7. Copy the Integration Url that is issued for the integration.
In AppDynamics
  1. Go to Alert & Respond > HTTP Request Templates. Click New.

    AppDynamics Integration Step 1

  2. Give the template a name. Add a custom variable. Set the variable as state and the value as open.
  3. Set the request method to be POST. Paste the integration URL you copid over from TaskCall in the Raw URL section.

    AppDynamics Integration Step 2

  4. In the Payload section, set the MIME Type to be application/json and then copy and paste the following payload:

         "state": "$(state)",
         "incident_key": "${}-${}",
         "description": "${latestEvent.displayName} on ${}",
         "client_url": "${controllerUrl}",
         "event_name": "${latestEvent.displayName}",
         "event_summary": "${latestEvent.summaryMessage}",
         "event_id": "${}",
         "guid": "${latestEvent.guid}",
         "event_time": "${latestEvent.eventTime}",
         "event_type": "${latestEvent.eventType}",
         "event_type_key": "${latestEvent.eventTypeKey}",
         "application_name": "${}",
         "node_name": "${}",
         "event_message": "${latestEvent.eventMessage}",
         "severity": "${latestEvent.severity}",
             "type": "image",
             "src": "${latestEvent.severityImage.deepLink}",
             "alt": "${latestEvent.severity}"
             "type": "link",
             "href": "${latestEvent.deepLink}",
             "text": "View this transaction in AppDynamics"

  5. In the Request Handling Criteria section, add a success criteria. Set the Status Code as 200 , check the Expect Payload checkbox, and set the Content Type as application/json.

    AppDynamics Integration Step 3

  6. In the Settings, select the One Request Per Event checkbox and then click Save.
  7. What we have set up so far is the payload that would be sent to TaskCall. Now we need to determine the actions or conditions that would trigger the payload.
  8. Go to Alert & Respond > Actions
  9. . Select the type of system the action should be for and then click Create.

    AppDynamics Integration Step 4

  10. Choose the Make an HTTP request radio button and then click Ok.

    AppDynamics Integration Step 5

  11. Give the action a name and select the template you created. This should show all the template information. Then click Save.
  12. With that we have set up an action that would trigger an incident on TaskCall when an alert is created in AppDynamics. Now we need to set up an action that would resolve the incident automatically when the alert itelf resolves in AppDynamics.
  13. Create another action by following the same steps. Only change the value of the state in the Custom Templating Variables to resolved.

    AppDynamics Integration Step 6

  14. Once both actions are created, incidents will be triggered on TaskCall when alerts are raised from AppDynamics. They will also resolve automatically when the alerts themselves resolve.
On this page