Enum Class OpenTelemetryMetricsProperties.ExemplarFilter
java.lang.Object
java.lang.Enum<OpenTelemetryMetricsProperties.ExemplarFilter>
io.arconia.opentelemetry.autoconfigure.metrics.OpenTelemetryMetricsProperties.ExemplarFilter
- All Implemented Interfaces:
Serializable,Comparable<OpenTelemetryMetricsProperties.ExemplarFilter>,Constable
- Enclosing class:
OpenTelemetryMetricsProperties
public static enum OpenTelemetryMetricsProperties.ExemplarFilter
extends Enum<OpenTelemetryMetricsProperties.ExemplarFilter>
Filter for which measurements are eligible to become Exemplars.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFilter which makes no measurements eligible for being an exemplar.Filter which makes all measurements eligible for being an exemplar.Filter that only accepts measurements where there is a span in context that is being sampled. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS_ON
Filter which makes all measurements eligible for being an exemplar. -
ALWAYS_OFF
Filter which makes no measurements eligible for being an exemplar. -
TRACE_BASED
Filter that only accepts measurements where there is a span in context that is being sampled.
-
-
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
-