Interface PointData
-
- All Known Implementing Classes:
DoubleHistogramPointData,DoublePointData,DoubleSummaryPointData,LongPointData
@Immutable public interface PointData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetEpochNanos()Returns the epoch timestamp in nanos when data were collected, usually it represents the moment whenInstrument.getData()was called.io.opentelemetry.api.metrics.common.LabelsgetLabels()Returns the labels associated with thisPoint.longgetStartEpochNanos()Returns the start epoch timestamp in nanos of thisInstrument, usually the time when the metric was created or an aggregation was enabled.
-
-
-
Method Detail
-
getStartEpochNanos
long getStartEpochNanos()
Returns the start epoch timestamp in nanos of thisInstrument, usually the time when the metric was created or an aggregation was enabled.- Returns:
- the start epoch timestamp in nanos.
-
getEpochNanos
long getEpochNanos()
Returns the epoch timestamp in nanos when data were collected, usually it represents the moment whenInstrument.getData()was called.- Returns:
- the epoch timestamp in nanos.
-
getLabels
io.opentelemetry.api.metrics.common.Labels getLabels()
Returns the labels associated with thisPoint.- Returns:
- the labels associated with this
Point.
-
-