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-them-with/ta-p/39478
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%20Monitoring/metric-data?metric-path=Application%20Infrastructure%20Performance%7CRoot%5C%7CPROD%5C%7CSCMCON%7CIndividual%20Nodes%7CSCM-AG2-18.4-HOSTED-AG0SCM2ASC2S001-java-MA%7CCustom%20Metrics%7Callscripts-300-second-monitors-duration&time-range-type=BEFORE_NOW&duration-in-mins=60
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.
... View more