Enum Class HistogramAggregationStrategy

java.lang.Object
java.lang.Enum<HistogramAggregationStrategy>
io.arconia.opentelemetry.autoconfigure.metrics.exporter.HistogramAggregationStrategy
All Implemented Interfaces:
Serializable, Comparable<HistogramAggregationStrategy>, Constable

public enum HistogramAggregationStrategy extends Enum<HistogramAggregationStrategy>
The strategy for the aggregation of histograms.
  • Enum Constant Details

    • BASE2_EXPONENTIAL_BUCKET_HISTOGRAM

      public static final HistogramAggregationStrategy BASE2_EXPONENTIAL_BUCKET_HISTOGRAM
      Uses a base-2 exponential strategy to compress bucket boundaries and an integer scale parameter to manage the histogram resolution.
      See Also:
      • Base2ExponentialHistogramAggregation.getDefault()
    • EXPLICIT_BUCKET_HISTOGRAM

      public static final HistogramAggregationStrategy EXPLICIT_BUCKET_HISTOGRAM
      Uses a pre-defined, fixed bucketing strategy to establish histogram bucket boundaries.
      See Also:
      • ExplicitBucketHistogramAggregation.getDefault()
  • Method Details

    • values

      public static HistogramAggregationStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HistogramAggregationStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null