Interface ExponentialHistogramData
- All Superinterfaces:
Data<ExponentialHistogramPointData>
A base-2 exponential histogram metric point, as defined by the OpenTelemetry Exponential
Histogram specification.
See ExponentialHistogramPointData for more information.
See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#exponentialhistogram
Note: This is called "ExponentialHistogramData" to reflect which primitives are used to record it, however "ExponentialHistogram" is the equivalent OTLP type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExponentialHistogramDatacreate(AggregationTemporality temporality, Collection<ExponentialHistogramPointData> points) Create a DoubleExponentialHistogramData.Returns theAggregationTemporalityof this metric.Returns the collection ofExponentialHistogramPointDatafor this histogram.
-
Method Details
-
create
static ExponentialHistogramData create(AggregationTemporality temporality, Collection<ExponentialHistogramPointData> points) Create a DoubleExponentialHistogramData.- Returns:
- a DoubleExponentialHistogramData
-
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.
-