Class MetricData.DoublePoint
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.data.MetricData.Point
-
- io.opentelemetry.sdk.metrics.data.MetricData.DoublePoint
-
- Enclosing class:
- MetricData
@Immutable public abstract static class MetricData.DoublePoint extends MetricData.Point
DoublePoint is a single data point in a timeseries that describes the time-varying value of a double metric.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static MetricData.DoublePointcreate(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Labels labels, double value)abstract doublegetValue()Returns the value of the data point.-
Methods inherited from class io.opentelemetry.sdk.metrics.data.MetricData.Point
getEpochNanos, getLabels, getStartEpochNanos
-
-
-
-
Method Detail
-
getValue
public abstract double getValue()
Returns the value of the data point.- Returns:
- the value of the data point.
-
create
public static MetricData.DoublePoint create(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Labels labels, double value)
-
-