public class OtelPropagator extends Object implements org.springframework.cloud.sleuth.propagation.Propagator
Propagator.| Constructor and Description |
|---|
OtelPropagator(io.opentelemetry.context.propagation.ContextPropagators propagation,
io.opentelemetry.api.trace.Tracer tracer) |
| Modifier and Type | Method and Description |
|---|---|
<C> org.springframework.cloud.sleuth.Span.Builder |
extract(C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Getter<C> getter) |
List<String> |
fields() |
<C> void |
inject(org.springframework.cloud.sleuth.TraceContext traceContext,
C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Setter<C> setter) |
public OtelPropagator(io.opentelemetry.context.propagation.ContextPropagators propagation,
io.opentelemetry.api.trace.Tracer tracer)
public List<String> fields()
fields in interface org.springframework.cloud.sleuth.propagation.Propagatorpublic <C> void inject(org.springframework.cloud.sleuth.TraceContext traceContext,
C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Setter<C> setter)
inject in interface org.springframework.cloud.sleuth.propagation.Propagatorpublic <C> org.springframework.cloud.sleuth.Span.Builder extract(C carrier,
org.springframework.cloud.sleuth.propagation.Propagator.Getter<C> getter)
extract in interface org.springframework.cloud.sleuth.propagation.PropagatorCopyright © 2023 Pivotal Software, Inc.. All rights reserved.