> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/resilience-testing/chaos-engineering/use-chaos-engineering/probes/apm-probes/appdynamics-probe.md).

# AppDynamics probe

The AppDynamics probe allows you to query AppDynamics metrics and compare the results against specified criteria.

#### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

To use the AppDynamics probe, you need:

* An active AppDynamics account
* Access to the AppDynamics API from the kubernetes execution plane
* Authentication credentials (either basic auth or OAuth token)

#### Interactive Setup Guide <a href="#interactive-setup-guide" id="interactive-setup-guide"></a>

Follow along with this interactive guide to learn how to configure AppDynamics probe:

{% embed url="<https://app.tango.us/app/embed/8a20f18d-a78a-4d2f-ac8c-5aef92a4243e?skipCover=false&defaultListView=false&skipBranding=false&makeViewOnly=false&hideAuthorAndDetails=true>" %}
Create AppDynamics APM Probe
{% endembed %}

#### Steps to configure <a href="#steps-to-configure" id="steps-to-configure"></a>

1. In Resilience probe section under chaos module, click on **New Probe** button

   ![Create AppDynamics Probe](/files/MK4Bzg8FNimFeFOlq1Y8)
2. Select the **APM Probe**
3. Provide the name of the probe and select **AppDynamics** under APM Type

   ![Select AppDynamics Probe](/files/DPfyXlpKmOOyPmR0WZhh)
4. Under AppDynamics connector select connector
5. In Connector settings, you can either choose an existing connector or click **New Connector**

   ![AppDynamics Connector](/files/PQ4LRyqdJW7o1kbD2J7T)
6. Provide the credentials of the appdynamics controller

   ![AppDynamics Connector](/files/qrXClwIy1MHSqpp7bfo3)

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>NOTE</strong></p><p>If you select <strong>API Client</strong> as the authentication type, ensure that the API client has at minimum the <strong>Applications &#x26; Dashboards Viewer (Default)</strong> role assigned.</p></div>
7. Select the delegate and verify the connection and click on **Finish**

   ![Delegate](/files/Sy1MwnHdJLArw9NnKo8i)
8. Now connector is created and selected, click on **Configure Details**

   ![Configure Details](/files/zaEgjTn3ioPHIvQol7eX)
9. Under Probe Properties, Pass the value of **AppDynamics Metric Full Path** and **Lookback Window**

   ![AppDynamics Lookback Window](/files/Tjl24id5R7p18YYDpGwV)

   * **AppDynamics Metric Full Path**:

     * A metric full path in AppDynamics is the complete hierarchical string that uniquely identifies a specific metric within an application for use in dashboards, alerts, and API queries
     * You can get the Metric Full Path from the Browse Metrics section in AppDynamics controller. For more details, refer to [AppDynamics docs](https://docs.appdynamics.com/appd/23.x/latest/en/appdynamics-essentials/metrics-and-graphs/metric-browser).
     * **Examples**:
       * `Application Infrastructure Performance|Root|Individual Nodes|boutique/adservice-54d59c5594-gggb9|Hardware Resources|CPU|%Busy`
       * `Application Infrastructure Performance|Root|Individual Nodes|boutique/adservice-54d59c5594-gggb9|Hardware Resources|Memory|Used (MB)`

     ![AppDynamics Metric Full Path](/files/wnLY0rUShvbVDvRvjtHm)
   * **LookBack Window (In Minutes)**:
     * The lookback window refers to the time range from a specified number of minutes ago up to the current moment, over which data is aggregated
10. Provide the comparison criteria under AppDynamics Data Comparison

    ![AppDynamics Data Comparison](/files/is7Lm2rCIXHxQd5IACxo)
11. Provide the Run Properties

    ![Create probe](/files/BDEDMcCQhnQTPquHPbwZ)
12. Then click on **Create Probe**
