Interface ExponentialHistogramData
-
- All Superinterfaces:
Data<ExponentialHistogramPointData>
- All Known Implementing Classes:
AutoValue_ImmutableExponentialHistogramData
,ImmutableExponentialHistogramData
@Immutable public interface ExponentialHistogramData extends Data<ExponentialHistogramPointData>
A base-2 exponential histogram metric point, as defined by the OpenTelemetry Exponential Histogram specification.Note: This is called "ExponentialHistogramData" to reflect which primitives are used to record it, however "ExponentialHistogram" is the equivalent OTLP type.
- Since:
- 1.23.0
- See Also:
- Exponential
Histogram Data Model,
ExponentialHistogramPointData
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregationTemporality
getAggregationTemporality()
Returns theAggregationTemporality
of this metric.java.util.Collection<ExponentialHistogramPointData>
getPoints()
Returns the collection ofExponentialHistogramPointData
for this histogram.
-
-
-
Method Detail
-
getAggregationTemporality
AggregationTemporality getAggregationTemporality()
Returns theAggregationTemporality
of this metric.AggregationTemporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- Returns:
- the
AggregationTemporality
of this metric
-
getPoints
java.util.Collection<ExponentialHistogramPointData> getPoints()
Returns the collection ofExponentialHistogramPointData
for this histogram.- Specified by:
getPoints
in interfaceData<ExponentialHistogramPointData>
- Returns:
- the collection of data points for this histogram.
-
-