|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MonitorEnvironment
The environment for Monitor Plugins.
This environment extends the Plugin environment by methods to retrieve subscribed measures.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.dynatrace.diagnostics.pdk.PluginEnvironment |
---|
PluginEnvironment.Host |
Method Summary | |
---|---|
MonitorMeasure |
createDynamicMeasure(MonitorMeasure monitorMeasure,
java.lang.String dynamicKey,
java.lang.String dynamicValue)
Creates a dynamic measure with a single dynamic dimension from a subscribed measure. |
java.util.Collection<MonitorMeasure> |
getMonitorMeasures()
Returns all subscribed measures for this monitor. |
java.util.Collection<MonitorMeasure> |
getMonitorMeasures(java.lang.String metricGroupName,
java.lang.String metricName)
Returns all subscribed measures for the given metric. |
Methods inherited from interface com.dynatrace.diagnostics.pdk.PluginEnvironment |
---|
getConfigBoolean, getConfigDate, getConfigDouble, getConfigFile, getConfigLong, getConfigPassword, getConfigString, getConfigUrl, getHost, isStopped |
Method Detail |
---|
java.util.Collection<MonitorMeasure> getMonitorMeasures(java.lang.String metricGroupName, java.lang.String metricName)
metricGroupName
- the name of the metric groupmetricName
- the name of the metric in the group
java.util.Collection<MonitorMeasure> getMonitorMeasures()
MonitorMeasure createDynamicMeasure(MonitorMeasure monitorMeasure, java.lang.String dynamicKey, java.lang.String dynamicValue)
monitorMeasure
- a currently subscribed measure. This must be an object which is contained in
the set which is returned by getMonitorMeasures()
dynamicKey
- the dynamic dimension for dynamic measure has. This key will be displayed as-is in charts and usable for dynamic splitting of charts. Example: Message QueuedynamicValue
- the value of the provided dynamic dimension. Every unique value will generate a unique measure in a chart. Example: MyQueueName
MonitorMeasure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |