Package org.apache.camel.opentelemetry
Class OpenTelemetrySpanAdapter
java.lang.Object
org.apache.camel.opentelemetry.OpenTelemetrySpanAdapter
- All Implemented Interfaces:
org.apache.camel.tracing.SpanAdapter
public class OpenTelemetrySpanAdapter
extends Object
implements org.apache.camel.tracing.SpanAdapter
-
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.api.baggage.Baggage
void
void
setBaggage
(io.opentelemetry.api.baggage.Baggage baggage) void
setComponent
(String component) void
setCorrelationContextItem
(String key, String value) void
setError
(boolean error) void
void
void
void
void
spanId()
traceId()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.camel.tracing.SpanAdapter
setLowCardinalityTag, setLowCardinalityTag, setLowCardinalityTag, setLowCardinalityTag, setLowCardinalityTag
-
Method Details
-
setComponent
- Specified by:
setComponent
in interfaceorg.apache.camel.tracing.SpanAdapter
-
setError
public void setError(boolean error) - Specified by:
setError
in interfaceorg.apache.camel.tracing.SpanAdapter
-
setTag
- Specified by:
setTag
in interfaceorg.apache.camel.tracing.SpanAdapter
-
setTag
- Specified by:
setTag
in interfaceorg.apache.camel.tracing.SpanAdapter
-
setTag
- Specified by:
setTag
in interfaceorg.apache.camel.tracing.SpanAdapter
-
setTag
- Specified by:
setTag
in interfaceorg.apache.camel.tracing.SpanAdapter
-
setTag
- Specified by:
setTag
in interfaceorg.apache.camel.tracing.SpanAdapter
-
log
- Specified by:
log
in interfaceorg.apache.camel.tracing.SpanAdapter
-
traceId
- Specified by:
traceId
in interfaceorg.apache.camel.tracing.SpanAdapter
-
spanId
- Specified by:
spanId
in interfaceorg.apache.camel.tracing.SpanAdapter
-
makeCurrent
- Specified by:
makeCurrent
in interfaceorg.apache.camel.tracing.SpanAdapter
-
getBaggage
public io.opentelemetry.api.baggage.Baggage getBaggage() -
setBaggage
public void setBaggage(io.opentelemetry.api.baggage.Baggage baggage) -
setCorrelationContextItem
-
getContextPropagationItem
-