• Home
  • Integrations
  • SDKs
  • Guides
  • API docs
    No results for ""
    EXPAND ALL

    EDIT ON GITHUB

    AppDynamics

    Read time: 2 minutes
    Last edited: Sep 02, 2022
    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.

    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 find "AppDynamics."
    The AppDynamics section of the Integrations page.
    The AppDynamics section of the Integrations page.
    1. Click Add integration. The "Create AppDynamics configuration" panel appears.
    The "Create AppDynamics configuration" panel.
    The "Create AppDynamics configuration" panel.
    1. Give the integration a human-readable Name.
    2. Click Connect to AppDynamics to authenticate in. A popup window appears.
    The AppDynamics OAuth2 popup window.
    The AppDynamics OAuth2 popup window.
    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 configuration panel.
    5. Input your AppDynamics application ID or application name. The application name can be found on the "Applications" tab within AppDynamics.
    6. (Optional) Configure a custom policy to control which flag information LaunchDarkly sends to AppDynamics. To learn more, read Adding custom policies to the AppDynamics integration.
    7. After reading the Integration Terms and Conditions, check the I have read and agree to the Integration Terms and Conditions checkbox.
    8. Click Save configuration. The new integration appears on the Integrations page.

    Your AppDynamics application now receives events from LaunchDarkly.

    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 configuration 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 it displays "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