I have built some custom metrics based on the following doc and they are working properly:
https://docs.appdynamics.com/display/PRO42/Build+a+Monitoring+Extension+Using+Scripts
Now I wanted to display those custom metrics alongside existing metrics. As per documentation, I need "component id" to do that. Method explained in the doc to get "component id" does not applies to 4.2 software. Also that method is static in nature.
My questions are:
1. How can I get component IDs dynamically for different tiers? Does AppDynamics exposes any environment variable by reading which I can get that information?
2. Is there any way to display same data on individual server level?
Thanks!
Suvendu