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
11-20-2017 08:13 AM
I am having some difficulty constructing a query which is able to return metric names from within a folder. I am able to successfully return the names of the folders by using the "controller/rest/applications/<application_name>/metrics" query which gives the result:
What I would like to do is to have the contents of each folder returned in an API call. For example, what would be the query needed to return the name of all of the metrics inside of the "Overall Application Performance" folder?
Solved! Go to Solution.
11-20-2017 10:05 PM
Hi,
Can you try below and let us know if it helps. Replace username, account name and password with the correct credentials and run the below Rest API.
curl --user username@account_name:secret http://<controller_host>:<port>/controller/rest/applications/app_id/metrics?metric-path=Overall%20Application%20Performance
Thanks,
Yogesh
11-21-2017 01:46 AM
Many thanks yogesh.chouk, that has done it!
User | Count |
---|---|
4 | |
3 | |
3 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form