Class DoubleHistogramData
java.lang.Object
io.opentelemetry.sdk.metrics.data.DoubleHistogramData
A histogram metric point.
See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#histogram
Note: This is called "DoubleHistogram" to reflect which primitives are used to record it, however "Histogram" is the equivalent OTLP type.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DoubleHistogramDatacreate(AggregationTemporality temporality, Collection<DoubleHistogramPointData> points) abstract AggregationTemporalityReturns theAggregationTemporalityof this metric,abstract Collection<DoubleHistogramPointData>
-
Method Details
-
create
public static DoubleHistogramData create(AggregationTemporality temporality, Collection<DoubleHistogramPointData> points) -
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
-