• HOME
  • INTEGRATIONS
  • SDKS
  • GUIDES
  • API DOCS
No results for ""
EXPAND ALL

EDIT ON GITHUB

AppDynamics

Read time: 2 minutes
Last edited: Jul 28, 2021
The AppDynamics integration is a Pro and Enterprise feature

The AppDynamics integration is available to customers on a Pro or Enterprise plan. To learn more, read about our pricing. To upgrade your plan, contact Sales.

This integration is in beta Development work on this integration is ongoing. It may have unexpected behavior or unsupported features. Do not use this integration in production environments.

Overview

This topic explains how to use the LaunchDarkly AppDynamics integration to view LaunchDarkly events in AppDynamics. AppDynamics is an application performance management (APM) tool. It allows customers to monitor the operational health of their application and infrastructure.

This integration is for AppDynamics APM SaaS customers This integration is not configured to work with AppDynamic's End User Monitoring products or on-premises deployments of AppDynamics.

Prerequisites

To configure the integration successfully, you will need to create an API Client with Create Events permissions correctly on your AppDynamics account.

Configuring LaunchDarkly to work with AppDynamics

To configure LaunchDarkly to start sending events to AppDynamics:

  1. Navigate to the Integrations page and expand the "AppDynamics" card.

AppDynamics integration
AppDynamics integration

  1. Click + Integration. The integration configuration sidebar appears.

The AppDynamics section of the Integrations page.
The AppDynamics section of the Integrations page.

  1. Give the integration a human-readable Name.

  2. Click Connect to AppDynamics to authenticate in. A popup window opens.

AppDynamics OAuth2 Popup
AppDynamics OAuth2 Popup

  1. Enter your AppDynamics host URL. The format should resemble https://example.saas.appdynamics.com.

  2. Enter your AppDynamics client ID. Your client ID is the name of your newly created API client combined with your account name in the format <apiClientName>@<accountName>.

  3. Enter the Client Secret you received when you configured your AppDynamics API client.

  4. Once you have successfully authenticated, return to the integrations page and enter your AppDynamics account name in the appropriate field on the configuration panel.

  5. Input your AppDynamics application ID or application name. The application name can be found on the "Applications" tab within AppDynamics.

  6. Click 'Save AppDynamics Configuration' at the bottom of the configuration sidebar.

Your AppDynamics application now receives events from LaunchDarkly.

To further modify the events that AppDynamics receives from LaunchDarkly, add custom policies to determine which events the integration should export.

Adding custom policies to the AppDynamics integration

LaunchDarkly sends all flag change events in the production environment to AppDynamics by default. To customize the events LaunchDarkly sends to AppDynamics, use the policy editor in the integration panel. To learn more about creating a policy, read Example policies and templates.

Policy editor
Policy editor

Accessing LaunchDarkly events in AppDynamics

To view events, navigate to the "Events" tab within your application dashboard. From there, modify the default event filter so that you can see "Custom" events. All LaunchDarkly events are sent with a "Custom Event Type" of "LaunchDarkly" and the following properties can be used to further filter events in AppDynamics:

Property nameProperty value
kindFlag, project, environment, etc.
flag_nameThe name of the flag. Sent only with flag events.
flag_keyThe flag's key. Sent only with flag events.
project_nameThe resource's project name.
project_keyThe resource's project key.
environment_nameThe resource's environment name.
environment_keyThe resource's environment key.

AppDynamics Custom Event Filter
AppDynamics Custom Event Filter

You can now view LaunchDarkly events in AppDynamics.

View LaunchDarkly events in AppDynamics
View LaunchDarkly events in AppDynamics