Package | Description |
---|---|
io.opentracing |
Modifier and Type | Method and Description |
---|---|
SpanContext |
Span.context()
Retrieve the associated SpanContext.
|
<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.
|
Modifier and Type | Method and Description |
---|---|
Tracer.SpanBuilder |
Tracer.SpanBuilder.addReference(String referenceType,
SpanContext referencedContext)
Add a reference from the Span being built to a distinct (usually parent) Span.
|
Tracer.SpanBuilder |
Tracer.SpanBuilder.asChildOf(SpanContext parent)
A shorthand for addReference(References.CHILD_OF, parent).
|
<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.
|
Copyright © 2016–2019 OpenTracing. All rights reserved.