Interface Histogram

All Superinterfaces:
Metric, Serializable
All Known Implementing Classes:
DelegatingHistogram, NoOpHistogram

public interface Histogram extends Metric
A metric that reports information about the histogram of reported values.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    update(double value)
    Add an observation to this histogram.
    default void
    update(double... values)
    Add observations to this histogram.
    default void
    update(org.apache.beam.sdk.util.HistogramData data)
    Add a histogram to this histogram.

    Methods inherited from interface org.apache.beam.sdk.metrics.Metric

    getName
  • Method Details

    • update

      void update(double value)
      Add an observation to this histogram.
    • update

      default void update(double... values)
      Add observations to this histogram.
    • update

      default void update(org.apache.beam.sdk.util.HistogramData data)
      Add a histogram to this histogram. Requires underlying implementation to implement this