Enum Class AggregationTemporalityStrategy
java.lang.Object
java.lang.Enum<AggregationTemporalityStrategy>
io.arconia.opentelemetry.autoconfigure.metrics.exporter.AggregationTemporalityStrategy
- All Implemented Interfaces:
Serializable,Comparable<AggregationTemporalityStrategy>,Constable
The temporality of the aggregation of metrics.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll instruments will have cumulative temporality.Counter (sync and async) and histograms will be delta, up-down counters (sync and async) will be cumulative.Sync counter and histograms will be delta, async counter and up-down counters (sync and async) will be cumulative. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AggregationTemporalityStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CUMULATIVE
All instruments will have cumulative temporality.- See Also:
-
DELTA
Counter (sync and async) and histograms will be delta, up-down counters (sync and async) will be cumulative.- See Also:
-
LOW_MEMORY
Sync counter and histograms will be delta, async counter and up-down counters (sync and async) will be cumulative.- 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
-