public class CompositeTextMapPropagator extends Object implements io.opentelemetry.context.propagation.TextMapPropagator
TextMapPropagator implementation that can read / write from multiple
TextMapPropagator implementations.| Constructor and Description |
|---|
CompositeTextMapPropagator(org.springframework.beans.factory.BeanFactory beanFactory,
List<PropagationType> types) |
| Modifier and Type | Method and Description |
|---|---|
<C> io.opentelemetry.context.Context |
extract(io.opentelemetry.context.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapGetter<C> getter) |
List<String> |
fields() |
<C> void |
inject(io.opentelemetry.context.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapSetter<C> setter) |
public CompositeTextMapPropagator(org.springframework.beans.factory.BeanFactory beanFactory,
List<PropagationType> types)
public List<String> fields()
fields in interface io.opentelemetry.context.propagation.TextMapPropagatorpublic <C> void inject(io.opentelemetry.context.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapSetter<C> setter)
inject in interface io.opentelemetry.context.propagation.TextMapPropagatorpublic <C> io.opentelemetry.context.Context extract(io.opentelemetry.context.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapGetter<C> getter)
extract in interface io.opentelemetry.context.propagation.TextMapPropagatorCopyright © 2023 Pivotal Software, Inc.. All rights reserved.