Enum Class TracingProperties.Exemplars.Include
java.lang.Object
java.lang.Enum<TracingProperties.Exemplars.Include>
org.springframework.boot.micrometer.tracing.autoconfigure.TracingProperties.Exemplars.Include
- All Implemented Interfaces:
Serializable, Comparable<TracingProperties.Exemplars.Include>, Constable
- Enclosing class:
TracingProperties.Exemplars
public static enum TracingProperties.Exemplars.Include
extends Enum<TracingProperties.Exemplars.Include>
- Since:
- 4.0.0
- Author:
- Moritz Halbritter, Jonatan Ivanov
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInclude all traces as exemplars, regardless of whether the span is sampled.Don't include any traces as exemplars.Only include sampled traces as exemplars. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static TracingProperties.Exemplars.Include[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
Include all traces as exemplars, regardless of whether the span is sampled. -
NONE
Don't include any traces as exemplars. -
SAMPLED_TRACES
Only include sampled traces as exemplars.
-
-
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
-