Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Continuous DeliveryContinuous VerificationAppdynamics

AppDynamics

Add AppDynamics as a health source for Continuous Verification and map application metrics to your Harness service

Configure AppDynamics as a health source so Continuous Verification can collect application metrics during an AI Verify (v1) step.

Application metrics only

Harness supports AppDynamics metrics for applications. Harness does not support user experience metrics for browsers or mobile apps.


What you will learn from this topic


Before you begin

  • Continuous Verification setup: Complete the shared Continuous Verification configuration for your pipeline. Go to Configure Continuous Verification to finish those steps first.

  • Fixed service and environment: This health source option is available only when you have configured the service and environment as fixed values.

  • AppDynamics connector: Create or select an AppDynamics connector that can reach your AppDynamics controller.


Add AppDynamics as a health source

A health source maps a Harness service to the service in a deployment environment monitored by an Application Performance Monitoring (APM) or logging tool.

In Health Sources, click Add. The Add New Health Source settings appear.

Add New Health Source dialog

Perform the following steps to add AppDynamics:

1

Select the health source type

In Select health source type, select AppDynamics.

2

Name the health source and select a connector

  1. In Health Source Name, enter a name for the health source.

  2. Under Connect Health Source, click Select Connector.

  3. In Connector settings, choose an existing connector or click New Connector.

AppDynamics connector selection
  1. Click Apply Selected. The connector is added to the health source.

Selected AppDynamics connector on the health source
3

Select the feature and open Customize Health Source

  1. In Select Feature, select the APM or logging tool component to use.

  2. Click Next. The Customize Health Source settings appear.

The subsequent settings in Customize Health Source depend on the health source type you selected. You can customize the metrics to map the Harness service to the monitored environment.

4

Configure Applications and Tiers

In Applications & Tiers, enter the following details:

  1. In Find an AppDynamics application, enter the name of the application and select an option from the list.

  2. In Find an AppDynamics tier, enter a tier name from which you want usage metrics, code exceptions, error conditions, or exit calls.

  3. In Metric Packs, select the metrics you want Harness to monitor. Errors and Performance are selected by default.

AppDynamics Applications and Tiers configuration with metric packs
5

Add optional custom metrics

  1. In Custom Metrics (optional), click Add Metric to add any other metric to be monitored.

  2. In Query Specifications and Mapping, customize the query to get the desired output and map it to a Harness service.

Query specifications and mapping for a custom AppDynamics metric
  1. In Map Metric(s) to Harness Services, in Metric Name, enter a name for the metric.

  2. In Group Name, enter a group name for the metric.

  3. In AppDynamics Path, either provide the complete metric path in Specify a complete metric path, or provide the base path of the AppDynamics metric in Select the path from the AppD metric.

  4. In Assign, select the services for which you want to apply the metric. Available options are:

    • Continuous Verification

    • Health Score

    • Service Level Indicator (SLI)

  5. In Risk Category, select a risk type from the list.

  6. In Deviation Compared to Baseline, select one of the options based on the selected risk type.

6

Submit the health source

Click Submit. The health source is displayed in the AI Verify (v1) step.

AppDynamics health source listed on the AI Verify (v1) step

You can add one or more health sources for each APM or logging provider.


Out-of-the-box metric paths

When you select a metric pack such as Errors or Performance, Harness automatically monitors a set of out-of-the-box (OOTB) metrics from AppDynamics. Each OOTB metric is defined with specific metric paths that determine how Harness queries your AppDynamics controller.

Metric path structure

Each OOTB metric includes two path configurations:

  • path: The primary metric path used in Harness DSL queries to fetch data during Continuous Verification

  • validationPath: An alternative path used for validation purposes, typically representing an aggregated view at the tier level

For example, the calls_per_minute metric is defined as follows:

Placeholders such as __tier_name__ and __metric_filter__ are dynamically replaced with the actual values from your health source configuration during execution.

Verify metrics in AppDynamics

To verify the metric paths and validate the data being collected, use one of the following approaches.

Metric Browser

  1. Navigate to the Metric Browser in your AppDynamics controller.

  2. Browse through the metric hierarchy following either the path or validationPath structure.

  3. For the calls_per_minute example above, navigate to:

    • Business Transaction Performance → Business Transactions → [Your Tier Name] → [Transaction Name] → Calls per Minute

Execution logs

Alternatively, you can verify which metrics Harness is querying by examining the execution logs:

  1. Run an AI Verify (v1) step that uses your AppDynamics health source.

  2. Check the execution logs for external API calls.

  3. Review the API call details for the exact metric paths being queried and the responses received from AppDynamics.

This approach helps you troubleshoot data discrepancies and confirm that Harness is collecting the correct metrics from your AppDynamics environment.


Next steps

Last updated

Was this helpful?