| Interface | Description |
|---|---|
| Event |
A text annotation with a set of attributes.
|
| Link |
A link to a
Span. |
| Span |
An interface that represents a span.
|
| Span.Builder |
Span.Builder is used to construct Span instances which define arbitrary scopes of
code that are sampled for distributed tracing as a single atomic unit. |
| Tracer |
Tracer is the interface for
Span creation and interaction with the in-process context. |
| TracerProvider |
A registry for creating named
Tracers. |
| Class | Description |
|---|---|
| DefaultSpan | |
| DefaultTracer |
No-op implementations of
Tracer. |
| DefaultTracerProvider | |
| EndSpanOptions |
A class that enables overriding the default values used when ending a
Span. |
| EndSpanOptions.Builder |
Builder class for
EndSpanOptions. |
| SpanContext |
A class that represents a span context.
|
| SpanId |
A class that represents a span identifier.
|
| Status |
Defines the status of a
Span by providing a standard Status.CanonicalCode in conjunction
with an optional descriptive message. |
| TraceFlags |
A class that represents global trace options.
|
| TraceFlags.Builder |
Builder class for
TraceFlags. |
| TraceId |
A class that represents a trace identifier.
|
| TraceState |
Carries tracing-system specific context in a list of key-value pairs.
|
| TraceState.Builder |
Builder class for
TraceState. |
| TraceState.Entry |
Immutable key-value pair for
TraceState. |
| TracingContextUtils |
Util methods/functionality to interact with the
Context. |
| Enum | Description |
|---|---|
| Span.Kind |
Type of span.
|
| Status.CanonicalCode |
The set of canonical status codes.
|
Distributed tracing, also called distributed request tracing, is a technique that helps debugging distributed applications.
Trace represents a tree of spans. A trace has a root span that encapsulates all the spans from start to end, and the children spans being the distinct calls invoked in between.
Span represents a single operation within a trace.
Spans are propagated in-process in the io.grpc.Context and between process using one of the wire propagation formats supported in the
opentelemetry.trace.propagation package.