What does the integration offer?

Use Compass's AppDynamics integration to forward AppDynamics alerts to Compass. Compass determines the right people to notify based on on-call schedules– using email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Leverage Compass's AppDynamics Integration to enable real-time Incident Management and Alert Notifications for the following:

How does the integration work?

Set up the integration

AppDynamics is an API-based integration. Setting it up involves the following steps:

Add an AppDynamics integration

Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.

If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.

To add an AppDynamics integration in Compass, complete the following steps:

  1. Go to your team’s operations page.

  2. On the left navigation panel, select Integrations and then Add integration.

  3. Run a search and select “AppDynamics”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the integration URL.
    You will use this URL while configuring the integration in AppDynamics later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in AppDynamics

To configure the integration of AppDynamics with Compass, complete the following steps:

  1. In AppDynamics, go to the Alert & Respond tab.

  2. Select HTTP Request Templates.

  3. Select New.

  4. Fill in the fields as required.

  5. Under Request URL, select "POST" for Method.

  6. Paste the API URL previously copied from Compass into Raw URL.
    Do not modify the Authentication section.

  7. Under Payload, select "application/json" for MIME Type.

  8. Copy the contents of the "Sample payload field" section in this article and paste them into Payload.

  9. Under Response Handling Criteria, select Add Success Criteria.

  10. Select "200" for Status Code.

  11. Select Expect Payload.

  12. Select "application/json" for Content-Type.

  13. Select One Request Per Event.

  14. Select Save.

Sample payload

JSON

{
"event_name": "${latestEvent.displayName}",
"event_guid": "${latestEvent.guid}",
"event_id": "${latestEvent.id}",
"policy": "${policy.name}",
"event_time": "${latestEvent.eventTime}",
"app_id": "${latestEvent.application.id}",
"app_name": "${latestEvent.application.name}",
"event_message": "${latestEvent.eventMessage}",
"severity": "${latestEvent.severity}",
"event_deep_link": "${latestEvent.deepLink}",
"controller_url": "${controllerUrl}",
"node_id": "${latestEvent.node.id}",
"node_name": "${latestEvent.node.name}",
"summary": "${latestEvent.summaryMessage}",
"event_type": "${latestEvent.eventType}",
"tier_id": "${latestEvent.tier.id}",
"tier_name": "${latestEvent.tier.name}"
#if(${latestEvent.healthRuleEvent} == true)
,"health_rule_id": "${latestEvent.healthRule.id}",
"health_rule_name": "${latestEvent.healthRule.name}",
"incident_id": "${latestEvent.incident.id}",
"incident_name": "${latestEvent.incident.name}"
#end
}