| Package | Description |
|---|---|
| io.opentracing.v_030 | |
| io.opentracing.v_030.mock | |
| io.opentracing.v_030.noop | |
| io.opentracing.v_030.shim | |
| io.opentracing.v_030.util |
| Modifier and Type | Method and Description |
|---|---|
SpanContext |
BaseSpan.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.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
MockSpan.MockContext
MockContext implements a Dapper-like opentracing.SpanContext with a trace- and span-id.
|
| Modifier and Type | Method and Description |
|---|---|
<C> SpanContext |
MockTracer.extract(Format<C> format,
C carrier) |
| Modifier and Type | Method and Description |
|---|---|
MockTracer.SpanBuilder |
MockTracer.SpanBuilder.addReference(String referenceType,
SpanContext referencedContext) |
MockTracer.SpanBuilder |
MockTracer.SpanBuilder.asChildOf(SpanContext parent) |
<C> void |
MockTracer.inject(SpanContext spanContext,
Format<C> format,
C carrier) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NoopSpanBuilder |
interface |
NoopSpanContext |
| Modifier and Type | Method and Description |
|---|---|
SpanContext |
SpanShim.context() |
SpanContext |
ActiveSpanShim.context() |
<C> SpanContext |
TracerShim.extract(Format<C> format,
C carrier) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
TracerShim.inject(SpanContext spanContext,
Format<C> format,
C carrier) |
| Modifier and Type | Method and Description |
|---|---|
SpanContext |
ThreadLocalActiveSpan.context() |
<C> SpanContext |
GlobalTracer.extract(Format<C> format,
C carrier) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
GlobalTracer.inject(SpanContext spanContext,
Format<C> format,
C carrier) |
Copyright © 2016–2018 OpenTracing. All rights reserved.