If I create a custom metric via a monitoring extension written in Java, I can set the metric qualifiers (aggregation qualifier, time roll-up qualifier and cluster roll-up qualifier) in the MetricWriter when I get it from the AManagedMonitor. How can I do the same if the metrics are created via a script? The documentation only discusses writting a line with the metric name and value similar to "name=Custom Metrics|device|metric,value=##". Can I add some additional text along the lines of "cluster-rollup=COLLECTIVE" to define how the metric cluster rollup should work?
Are there any good docs on exactly what can be passed via a text line to the machine agent? I can't seem to find them.
Thanks,
Barry
Hi Barry,
Can you try below syntax in script file and see how it goes:
name=Custom Metrics|Disks|C|Space left %,value=$spacePerc,aggregator=OBSERVATION,time-rollup=CURRENT,cluster-rollup=COLLECTIVE
Regards,
Arun