Enum SleuthReactorProperties.InstrumentationType
- java.lang.Object
-
- java.lang.Enum<SleuthReactorProperties.InstrumentationType>
-
- org.springframework.cloud.sleuth.autoconfig.instrument.reactor.SleuthReactorProperties.InstrumentationType
-
- All Implemented Interfaces:
Serializable,Comparable<SleuthReactorProperties.InstrumentationType>
- Enclosing class:
- SleuthReactorProperties
public static enum SleuthReactorProperties.InstrumentationType extends Enum<SleuthReactorProperties.InstrumentationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECORATE_ON_EACHDecorates on each operator, will be less performing, but logging will always contain the tracing entries in each operator.DECORATE_ON_LASTDeprecated.to be removed in Sleuth 4.0.0DECORATE_QUEUESUses the new decorate queues feature from Project Reactor.MANUALDoes not automatically wrap any operators.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SleuthReactorProperties.InstrumentationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SleuthReactorProperties.InstrumentationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECORATE_QUEUES
public static final SleuthReactorProperties.InstrumentationType DECORATE_QUEUES
Uses the new decorate queues feature from Project Reactor. Should allow the feature set ofDECORATE_ON_EACHwith the least impact on the performance.
-
DECORATE_ON_EACH
public static final SleuthReactorProperties.InstrumentationType DECORATE_ON_EACH
Decorates on each operator, will be less performing, but logging will always contain the tracing entries in each operator.
-
DECORATE_ON_LAST
@Deprecated public static final SleuthReactorProperties.InstrumentationType DECORATE_ON_LAST
Deprecated.to be removed in Sleuth 4.0.0Decorates on last operator, will be more performing, but logging might not always contain the tracing entries.
-
MANUAL
public static final SleuthReactorProperties.InstrumentationType MANUAL
Does not automatically wrap any operators.
-
-
Method Detail
-
values
public static SleuthReactorProperties.InstrumentationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SleuthReactorProperties.InstrumentationType c : SleuthReactorProperties.InstrumentationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SleuthReactorProperties.InstrumentationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-