cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Controller (SaaS, On Premises)

Fetch all metrics of an application via API

Carlos.Tomigawa
New Poster

Fetch all metrics of an application via API

Hi all,

 

I'm trying to download all metrics from an application in Appdynamics.

 

By saying all metrics I really mean all the metrics in the metric browser tree.

 

What I'm doing ATM is:

1. Mapping all the metrics via RESTUI

2. Downloading all the mapped metrics via REST

 

The problem is that it's taking too long.

In step 1 when the metric is a folder type e.g. "Overall Application Performance" I've to issue a new API request to get its contents and so on.. So this is a sequential procedure.

In step 2 sometimes it takes over 2 hours to download a 2 hour (1/1minute) of metrics running 30 threads simultaneously.

 

Some benchmarks:

[START] Map Metrics
Pulled 901070 data paths
[END] Map Metrics. Took 1h 32m
[START] Download Metrics
[END] Download Metrics. Took 1h 3m
[START] Map Metrics
Pulled 43653 data paths
[END] Map Metrics. Took 3m 52s
[START] Download Metrics
[END] Download Metrics. Took 3m 24s

The first example now has over 2M data paths taking around 4 hours to download.

Is there any other way I could try to optimize it?

By replying you agree to the Terms and Conditions of the AppDynamics Community.
Fetch all metrics of an application via API
0 REPLIES 0