Enum Class HistogramAggregationStrategy
java.lang.Object
java.lang.Enum<HistogramAggregationStrategy>
io.arconia.opentelemetry.autoconfigure.metrics.exporter.HistogramAggregationStrategy
- All Implemented Interfaces:
Serializable,Comparable<HistogramAggregationStrategy>,Constable
The strategy for the aggregation of histograms.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUses a base-2 exponential strategy to compress bucket boundaries and an integer scale parameter to manage the histogram resolution.Uses a pre-defined, fixed bucketing strategy to establish histogram bucket boundaries. -
Method Summary
Modifier and TypeMethodDescriptionstatic HistogramAggregationStrategyReturns the enum constant of this class with the specified name.static HistogramAggregationStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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:
-
EXPLICIT_BUCKET_HISTOGRAM
Uses a pre-defined, fixed bucketing strategy to establish histogram bucket boundaries.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-