Package | Description |
---|---|
io.opentracing | |
io.opentracing.propagation |
Modifier and Type | Method and Description |
---|---|
<C> SpanContext |
Tracer.extract(Format<C> format,
C carrier)
Extract a SpanContext from a `carrier` of a given type, presumably after propagation across a process boundary.
|
<C> void |
Tracer.inject(SpanContext spanContext,
Format<C> format,
C carrier)
Inject a SpanContext into a `carrier` of a given type, presumably for propagation across process boundaries.
|
Modifier and Type | Class and Description |
---|---|
static class |
Format.Builtin<C> |
Modifier and Type | Field and Description |
---|---|
static Format<Binary> |
Format.Builtin.BINARY
The BINARY format allows for unconstrained binary encoding of SpanContext state for Tracer.inject and
Tracer.extract.
|
static Format<TextMap> |
Format.Builtin.HTTP_HEADERS
The HTTP_HEADERS format allows for HTTP-header-compatible String->String map encoding of SpanContext state
for Tracer.inject and Tracer.extract.
|
static Format<TextMap> |
Format.Builtin.TEXT_MAP
The TEXT_MAP format allows for arbitrary String->String map encoding of SpanContext state for
Tracer.inject and Tracer.extract.
|
Copyright © 2016–2017 OpenTracing. All rights reserved.