com.dynatrace.diagnostics.pdk
Interface MonitorMeasure


public interface MonitorMeasure

The Interface for Measures that are provided to a Monitor to be filled with values.


Method Summary
 java.lang.String getMeasureName()
          Returns the name of the subscribed measure as it shows up in charts and the measure picker dialog.
 java.lang.String getMetricGroupName()
          Returns the name of the metric group this monitor measure belongs to.
 java.lang.String getMetricName()
          Returns the name of the metric as described in the plugin itself.
 java.lang.String getParameter(java.lang.String property)
          Returns the configured parameter for the specified property.
 void setValue(double value)
          Sets the measurement value as double-precision floating point.
 

Method Detail

setValue

void setValue(double value)
Sets the measurement value as double-precision floating point.

Parameters:
value - the measurement value

getParameter

java.lang.String getParameter(java.lang.String property)
Returns the configured parameter for the specified property. The property string must correspond to the properties defined in the Metric Group of this Monitor.

Parameters:
property - the name of the property
Returns:
the String value of the specified property or null if no value is defined for the property.

getMeasureName

java.lang.String getMeasureName()
Returns the name of the subscribed measure as it shows up in charts and the measure picker dialog. This name can be set when the

Returns:
the name of the subscribed measure as it shows up in charts and the measure picker dialog.

getMetricName

java.lang.String getMetricName()
Returns the name of the metric as described in the plugin itself. It is the name you see when you hit create measure. It cannot be changed by the user but is predefined in the metric group

Returns:
the name of the metric as described in the plugin itself.

getMetricGroupName

java.lang.String getMetricGroupName()
Returns the name of the metric group this monitor measure belongs to. The metric group name is defined in the Monitor Metric Group configuration of the plugin

Returns:
the name of the metric group this monitor measure belongs to.


Copyright © 2004-2012 dynaTrace software GmbH