Skip to content

Instantly share code, notes, and snippets.

@campbellja
Created November 8, 2022 03:21
Show Gist options
  • Save campbellja/a9181edce96ae7f33f6f25c388ef5ca6 to your computer and use it in GitHub Desktop.
Save campbellja/a9181edce96ae7f33f6f25c388ef5ca6 to your computer and use it in GitHub Desktop.
Metrics - AppDynamics REST API

Synthetic Job Metrics

Using the Metrics API you can retrieve metrics for a synthetic job by specifying an application name and metric path as input parameters.

The Metrics API also supports wildcards in the metric path. For example: {{base_url}}/controller/rest/applications/{{application_name}}/metric-data?metric-path=Application Infrastructure Performance|*|Agent|App|Availability&time-range-type=BEFORE_NOW&duration-in-mins=15

References

See: https://docs.appdynamics.com/appd/22.x/latest/en/extend-appdynamics/appdynamics-apis/metric-and-snapshot-api#id-.MetricandSnapshotAPIv22.1-usingwildcards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment