Interface HistogramData

All Superinterfaces:
Data<HistogramPointData>

public interface HistogramData extends Data<HistogramPointData>
A histogram metric recording.

See: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/datamodel.md#histogram

  • Method Details

    • getAggregationTemporality

      AggregationTemporality getAggregationTemporality()
      Returns the AggregationTemporality 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

      Description copied from interface: Data
      Returns the data PointDatas for this metric.
      Specified by:
      getPoints in interface Data<HistogramPointData>
      Returns:
      the data PointDatas for this metric, or empty Collection if no points.