Interface Data<T extends PointData>

All Known Subinterfaces:
GaugeData<T>, HistogramData, SumData<T>, SummaryData

@Immutable public interface Data<T extends PointData>
A collection of data points associated to a metric.

Loosely equivalent with "Metric" message in OTLP. See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#metric-points

  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the data PointDatas for this metric.
  • Method Details

    • getPoints

      Collection<T> getPoints()
      Returns the data PointDatas for this metric.
      Returns:
      the data PointDatas for this metric, or empty Collection if no points.