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
BlankSpanis a singleton class, which is the defaultSpanthat is used when noSpanimplementation is available.Util methods/functionality to interact with theSpanin theContext.A class that enables overriding the default values used when ending aSpan.Builder class forEndSpanOptions.A link to aSpanfrom a different trace.The relationship with the linkedSpanrelative to the currentSpan.A class that represents a generic messaging event.Builder class forMessageEvent.Available types for aMessageEvent.Deprecated.UseMessageEvent.Deprecated.NetworkEventis deprecated.Available types for aNetworkEvent.Sampler is used to make decisions onSpansampling.An abstract class that represents a span.Type of span.Spanoptions.SpanBuilderis used to constructSpaninstances 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 aSpanby providing a standardStatus.CanonicalCodein conjunction with an optional descriptive message.The set of canonical status codes.Class that holds the implementation instances forTracer,PropagationComponent,Clock,ExportComponentandTraceConfig.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 forSpancreation 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.