Interface ExponentialHistogramData
- All Superinterfaces:
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:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExponentialHistogramDatacreate(AggregationTemporality temporality, Collection<ExponentialHistogramPointData> points) Create a record.Returns theAggregationTemporalityof this metric.Returns the collection ofExponentialHistogramPointDatafor this histogram.
-
Method Details
-
create
static ExponentialHistogramData create(AggregationTemporality temporality, Collection<ExponentialHistogramPointData> points) Create a record.- Since:
- 1.50.0
-
getAggregationTemporality
AggregationTemporality getAggregationTemporality()Returns theAggregationTemporalityof this metric.AggregationTemporality describes if the aggregator reports delta changes since last report time, or cumulative changes since a fixed start time.
- Returns:
- the
AggregationTemporalityof this metric
-
getPoints
Collection<ExponentialHistogramPointData> getPoints()Returns the collection ofExponentialHistogramPointDatafor this histogram.- Specified by:
getPointsin interfaceData<ExponentialHistogramPointData>- Returns:
- the collection of data points for this histogram.
-