Class MetricData.LongPoint
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.data.MetricData.Point
-
- io.opentelemetry.sdk.metrics.data.MetricData.LongPoint
-
- Enclosing class:
- MetricData
@Immutable public abstract static class MetricData.LongPoint extends MetricData.Point
LongPoint is a single data point in a timeseries that describes the time-varying values of a int64 metric.In the proto definition this is called Int64Point.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static MetricData.LongPointcreate(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Labels labels, long value)abstract longgetValue()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 long getValue()
Returns the value of the data point.- Returns:
- the value of the data point.
-
create
public static MetricData.LongPoint create(long startEpochNanos, long epochNanos, io.opentelemetry.api.common.Labels labels, long value)
-
-