Package io.helidon.telemetry.otelconfig
Enum Class AggregationType
- All Implemented Interfaces:
Serializable,Comparable<AggregationType>,Constable
Type of OpenTelemetry metric aggregations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAggregates measurements into a base-2 exponential histogram using default or explicit maximum number of buckets and maximum scale.Default aggregation for a given instrument type.Drops all metrics; exports no metrics.Aggregates measurements into a histogram using default or explicit bucket boundaries.Records the last seen measurement as a double aauge or long gauge.Aggregates measurements into a double sum or long sum. -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregationTypeReturns the enum constant of this class with the specified name.static AggregationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DROP
Drops all metrics; exports no metrics. -
DEFAULT
Default aggregation for a given instrument type. -
SUM
Aggregates measurements into a double sum or long sum. -
LAST_VALUE
Records the last seen measurement as a double aauge or long gauge. -
EXPLICIT_BUCKET_HISTOGRAM
Aggregates measurements into a histogram using default or explicit bucket boundaries. -
BASE2_EXPONENTIAL_BUCKET_HISTOGRAM
Aggregates measurements into a base-2 exponential histogram using default or explicit maximum number of buckets and maximum scale.
-
-
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
-