Package com.dynatrace.metric.util
Interface MetricLineBuilder.CounterStep
-
- Enclosing interface:
- MetricLineBuilder
public static interface MetricLineBuilder.CounterStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricLineBuilder.TimestampOrBuildStepdelta(double delta)Sets the counter delta value.MetricLineBuilder.MetadataStepmetadata()Creates aMetadataLineBuilderwith the metric key and type pre-filled.
-
-
-
Method Detail
-
delta
MetricLineBuilder.TimestampOrBuildStep delta(double delta) throws MetricException
Sets the counter delta value. The delta value is the change in the counter since the last export.- Parameters:
delta- The counter's delta value.- Returns:
- A
MetricLineBuilder.TimestampOrBuildStepthat can be used to set the timestamp or build the metric line. - Throws:
MetricException- if the counter value is NaN or +/- infinity.
-
metadata
MetricLineBuilder.MetadataStep metadata()
Creates aMetadataLineBuilderwith the metric key and type pre-filled.- Returns:
- A
MetricLineBuilder.MetadataStepobject to further configure and serialize a metadata line.
-
-