public @interface TelemetryFormat
Telemetry
annotation.
This annotation is used by the Telemetry.format()
parameter.Modifier and Type | Optional Element and Description |
---|---|
boolean |
groupAverage
By default, telemetry values from multiple VMs are averaged, for example in the columns of the "VMs" view or
when you select a VM group for a telemetry in the "VM Data Views".
|
int |
scale
A scaling factor for the telemetry.
|
boolean |
stacked
Determines whether multiple lines in a telemetry should be stacked into an area graph.
|
Unit |
value
The unit of the recorded values.
|
public abstract Unit value
public abstract int scale
For example, if you want to show a percentage with two decimal digits, the monitored value should be the percentage times 100 and the scale parameter should be set to 2.
public abstract boolean stacked
public abstract boolean groupAverage
The desired parameter value depends on the semantics of the monitored value. For shared resources, you probably do not want to average values. For resources that exist on each machine, the sums from multiple machines may not make much sense. For example, you would sum the monitored connections to a common database, but average the monitored number of worker threads. Also, business numbers like the number of logged on users will usually be summed.