cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating Custom Metrics of ADQL Query in Analytics via API

Husnain.Ashfaq
Creator

Hi,

I have large number of queries which needs to be created as metrics in Analytics (because we can't retain data more than 8 days in Analytics, so making metrics to retain it).

Is there any tool/API or CURL command we can use to create these metrics by providing Query and Metrics name as payload/arguments?

Creating them manually is error prone and time taking

2 REPLIES 2

Mario.Morelli
Architect

Hi Husnain

Don't believe there is an official documented API,

What we did was just open developer tools in your browser and create a new test metric, check the way the payload is structured, you can then automate or build them using Curl or any scripting method of your choice.

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Ryan.Paredez
Community Manager

Hi @Husnain.Ashfaq,

Were you able to check out and try what was suggested by @Mario.Morelli


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.