@ParametersAreNonnullByDefault
Package io.opentelemetry.api.trace
API for distributed tracing.
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 Context and between process using one of the wire propagation formats
supported in the opentelemetry.trace.propagation package.
-
Interface Summary Interface Description Span An interface that represents a span.SpanBuilder SpanBuilderis used to constructSpaninstances which define arbitrary scopes of code that are sampled for distributed tracing as a single atomic unit.SpanContext A class that represents a span context.Tracer Tracer is the interface forSpancreation and interaction with the in-process context.TracerProvider A registry for creating namedTracers.TraceState Carries tracing-system specific context in a list of key-value pairs.TraceStateBuilder A builder ofTraceState. -
Class Summary Class Description 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. -
Enum Summary Enum Description Span.Kind Type of span.StatusCode The set of canonical status codes.