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.

Dashboards

URL format for pulling custom metrics via API.

Jonathan.Barrow
Creator

URL format for pulling custom metrics via API.

Due to the limitations of dashboarding in AppD, we're going to be trying to move some data over to Power BI as the front end.

 

I've been following along with the below article, which has helped a great deal.

 

https://community.appdynamics.com/t5/Knowledge-Base/How-do-I-retrieve-metrics-and-so-I-can-display-t...

 

The problem I'm running into is with custom metric paths. When I get the URL from the controller, it looks something like this:

 

https://allscripts-dev.saas.appdynamics.com/controller/rest/applications/Server%20&%20Infrastructure...

 

Here it is decoded for easier reading:

 

https://allscripts-dev.saas.appdynamics.com/controller/rest/applications/Server & Infrastructure Monitoring/metric-data?metric-path=Application Infrastructure Performance|Root\|PROD\|SCMCON|Individual Nodes|SCM-AG2-18.4-HOSTED-AG0SCM2ASC2S001-java-MA|Custom Metrics|allscripts-300-second-monitors-duration&time-range-type=BEFORE_NOW&duration-in-mins=60

 

The problem comes into play with the hierarchy paths. Web servers are all over the place, scattered throughout different hierarchy paths. For the server above, It's in the |PROD|SCMCON| portion of the path that I'm stuck on. I'm struggling with figuring out code that will work like an AppD Dashboard where I can select "All Servers" and get back data for this metric from all of them. I can replace "|SCM-AG2-18.4-HOSTED-AG0SCM2ASC2S001-java-MA|" with "|*|" which works, but I don't get any data when I try to use |*|*| in place of the |PROD|SCMCON| portion of the URL.

 

Any guidance or assistance would be appreciated.

Tags (2)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
URL format for pulling custom metrics via API.
0 REPLIES 0