16.10 - Metric - Teradata Ecosystem Manager

Teradata Ecosystem Manager API Reference

Teradata Ecosystem Manager
June 2017
Programming Reference

The <metric> element is a child of the metricCollector element. A metricCollector can have 0 to many metric elements. A metric is a float value that can be reported which the Ecosystem Manager server keeps track of. The resourceType attribute within the metric element is a flag that is passed to the reporter mechanism.

A metric element can have several arg child elements. The <arg> elements represent parameters that are sent into the getStat method as arguments for the classes that implement the com.teradata.tmsm.da.monitor.components.Monitor interface. These are arguments that guide the Monitor implementation on what information to collect. The arg elements specified in the metric element are guaranteed to be sent to the getStat method in order, starting from top to bottom, then left to right.