@Immutable public class HttpTraceContext extends Object implements io.opentelemetry.context.propagation.TextMapPropagator
| Modifier and Type | Method and Description |
|---|---|
<C> io.grpc.Context |
extract(io.grpc.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapPropagator.Getter<C> getter) |
List<String> |
fields() |
static HttpTraceContext |
getInstance() |
<C> void |
inject(io.grpc.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapPropagator.Setter<C> setter) |
public static HttpTraceContext getInstance()
public List<String> fields()
fields in interface io.opentelemetry.context.propagation.TextMapPropagatorpublic <C> void inject(io.grpc.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapPropagator.Setter<C> setter)
inject in interface io.opentelemetry.context.propagation.TextMapPropagatorpublic <C> io.grpc.Context extract(io.grpc.Context context,
C carrier,
io.opentelemetry.context.propagation.TextMapPropagator.Getter<C> getter)
extract in interface io.opentelemetry.context.propagation.TextMapPropagator