Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
10-09-2024 11:18 PM
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
10-14-2024 12:34 AM
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
10-18-2024 01:45 PM
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.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form