If I define 3 metrics in hq-plugin.xml , the measurement class is called/invoked 3 seperate times.
Example - I have defined 3 metrics - X1 , X2 , X3 in the plugin xml file. Collection frequency is set at 5 mins.
Every 5 minutes, the measurement class is invoked by agent. this invokation happens 3 times. Each time, the measurement class has to return a value corresponding to the metric for which the invocation was made.
Is it possible to return multiple metric values within one invocation?
That is, the measurement class is invoked once, and it returns values for X1 , X2 and X3.
And are there any plugins in the HQ codebase that do this already ?
Danke.