Interface PointData

All Known Subinterfaces:
DoublePointData, ExponentialHistogramPointData, HistogramPointData, LongPointData, SummaryPointData

public interface PointData
A point in the metric data model.

A point represents the aggregation of measurements recorded with a particular set of Attributes over some time interval.

Since:
1.14.0
  • Method Summary

    Modifier and Type
    Method
    Description
    io.opentelemetry.api.common.Attributes
    Returns the attributes of the aggregation.
    long
    Returns the end time of the aggregation in epoch nanos.
    List<? extends ExemplarData>
    List of exemplars collected from measurements aggregated into this point.
    long
    Returns the start time of the aggregation in epoch nanos.
  • Method Details

    • getStartEpochNanos

      long getStartEpochNanos()
      Returns the start time of the aggregation in epoch nanos.
    • getEpochNanos

      long getEpochNanos()
      Returns the end time of the aggregation in epoch nanos.
    • getAttributes

      io.opentelemetry.api.common.Attributes getAttributes()
      Returns the attributes of the aggregation.
    • getExemplars

      List<? extends ExemplarData> getExemplars()
      List of exemplars collected from measurements aggregated into this point.