Interface Data<T extends PointData>
- All Known Subinterfaces:
ExponentialHistogramData,GaugeData<T>,SumData<T>
- All Known Implementing Classes:
DoubleGaugeData,DoubleHistogramData,DoubleSumData,DoubleSummaryData,LongGaugeData,LongSumData
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
-
Method Details
-
getPoints
Collection<T> getPoints()Returns the dataPointDatas for this metric.- Returns:
- the data
PointDatas for this metric, or emptyCollectionif no points.
-