Package io.opencensus.trace
package io.opencensus.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
io.grpc.Context
and between process using one of the wire propagation formats supported in the
io.opencensus.trace.propagation
package.
-
ClassDescriptionA text annotation with a set of attributes.A class that represents all the possible values for an attribute.Deprecated.Deprecated.This class is for internal use only.The
BlankSpan
is a singleton class, which is the defaultSpan
that is used when noSpan
implementation is available.Util methods/functionality to interact with theSpan
in theContext
.A class that enables overriding the default values used when ending aSpan
.Builder class forEndSpanOptions
.A link to aSpan
from a different trace.The relationship with the linkedSpan
relative to the currentSpan
.A class that represents a generic messaging event.Builder class forMessageEvent
.Available types for aMessageEvent
.Deprecated.UseMessageEvent
.Deprecated.NetworkEvent
is deprecated.Available types for aNetworkEvent
.Sampler is used to make decisions onSpan
sampling.An abstract class that represents a span.Type of span.Span
options.SpanBuilder
is used to constructSpan
instances which define arbitrary scopes of code that are sampled for distributed tracing as a single atomic unit.A class that represents a span context.A class that represents a span identifier.Defines the status of aSpan
by providing a standardStatus.CanonicalCode
in conjunction with an optional descriptive message.The set of canonical status codes.Class that holds the implementation instances forTracer
,PropagationComponent
,Clock
,ExportComponent
andTraceConfig
.Deprecated.Deprecated.A class that represents a trace identifier.A class that represents global trace options.Builder class forTraceOptions
.Tracer is a simple, thin class forSpan
creation and in-process context interaction.Carries tracing-system specific context in a list of key-value pairs.Builder class forMessageEvent
.Immutable key-value pair forTracestate
.Class that manages a global instance of theTraceComponent
.