org.apache.rocketmq.shaded.io.opentelemetry.sdk.metrics.data.HistogramData Maven / Gradle / Ivy
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.apache.rocketmq.shaded.io.opentelemetry.sdk.metrics.data;
import java.util.Collection;
/**
* A histogram metric recording.
*
* See:
* https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#histogram
*/
public interface HistogramData extends Data {
/**
* Returns the {@code AggregationTemporality} of this metric,
*
* AggregationTemporality describes if the aggregator reports delta changes since last report
* time, or cumulative changes since a fixed start time.
*
* @return the {@code AggregationTemporality} of this metric
*/
AggregationTemporality getAggregationTemporality();
@Override
Collection getPoints();
}