Package io.helidon.telemetry.otelconfig
Enum Class ContextPropagationType
- All Implemented Interfaces:
Serializable,Comparable<ContextPropagationType>,Constable
Known OpenTelemetry trace context propagation formats.
OTel configuration of propagation uses lower-case names. For user-friendliness, we allow users to use the Otel-friendly names (lowercase) or the enum names (UPPERCASE) in config sources.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionZipkin B3 trace context propagation using a single header.Zipkin B3 trace context propagation using multiple headers.W3C baggage propagation.Jaeger trace context propagation format.OT trace format propagation.W3C trace context propagation. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContextPropagationTypeReturns the enum constant of this class with the specified name.static ContextPropagationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRACECONTEXT
W3C trace context propagation. -
BAGGAGE
W3C baggage propagation. -
B3
Zipkin B3 trace context propagation using a single header. -
B3MULTI
Zipkin B3 trace context propagation using multiple headers. -
JAEGER
Jaeger trace context propagation format. -
OTTRACE
OT trace format propagation.
-
-
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
-