Interface | Description |
---|---|
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
Tracer s. |
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 |
Helper methods for dealing with a span identifier.
|
TraceFlags |
Helper methods for dealing with trace flags options.
|
TraceId |
Helper methods for dealing with 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.
|
StatusCanonicalCode |
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.