@Immutable
public abstract static class MetricData.Point
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
abstract long |
getEpochNanos()
Returns the epoch timestamp in nanos when data were collected, usually it represents the
moment when
Instrument.getData() was called. |
abstract io.opentelemetry.common.Labels |
getLabels()
Returns the labels associated with this
Point . |
abstract long |
getStartEpochNanos()
Returns the start epoch timestamp in nanos of this
Instrument , usually the time when
the metric was created or an aggregation was enabled. |
public abstract long getStartEpochNanos()
Instrument
, usually the time when
the metric was created or an aggregation was enabled.public abstract long getEpochNanos()
Instrument.getData()
was called.public abstract io.opentelemetry.common.Labels getLabels()
Point
.Point
.