cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom metric - Sum of metric from all agents

andrew_lavesper
Newcomer

I would like to get the sum of a metric as a single number from all agents. Specifically, Tomcat Busy Threads. I would like to get the current cumulative total of the busy threads of all the agents.


3 REPLIES 3

Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

Yes you can. Use the API to pull back the ThreadsBusy metric for all relevent process Group Instances, sum across these values.


As a newbie, could you explain the steps required to do something like this? Is it possible to configure this from the console?


Joe_Hoffman
Dynatrace Leader
Dynatrace Leader

This cannot be done from the GUI. You would need to write some code to call the Dynatrace API to pull back the metrics. Full doc on the API is available, including lots of examples: https://www.dynatrace.com/support/help/extend-dyna...


Featured Posts