Class | Description |
---|---|
Annotation |
A text annotation with a set of attributes.
|
AttributeValue |
A class that represents all the possible values for an attribute.
|
BaseMessageEvent | Deprecated
This class is for internal use only.
|
BlankSpan |
The
BlankSpan is a singleton class, which is the default Span that is used when
no Span implementation is available. |
EndSpanOptions |
A class that enables overriding the default values used when ending a
Span . |
EndSpanOptions.Builder |
Builder class for
EndSpanOptions . |
Link |
A link to a
Span from a different trace. |
MessageEvent |
A class that represents a generic messaging event.
|
MessageEvent.Builder |
Builder class for
MessageEvent . |
NetworkEvent | Deprecated
Use
MessageEvent . |
NetworkEvent.Builder | Deprecated
NetworkEvent is deprecated. |
Sampler |
Sampler is used to make decisions on
Span sampling. |
Span |
An abstract class that represents a span.
|
SpanBuilder |
SpanBuilder is used to construct Span instances 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.
|
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. |
TraceComponent |
Class that holds the implementation instances for
Tracer , PropagationComponent ,
Clock , ExportComponent and TraceConfig . |
TraceId |
A class that represents a trace identifier.
|
TraceOptions |
A class that represents global trace options.
|
TraceOptions.Builder |
Builder class for
TraceOptions . |
Tracer |
Tracer is a simple, thin class for
Span creation and in-process context interaction. |
Tracestate |
Carries tracing-system specific context in a list of key-value pairs.
|
Tracestate.Builder |
Builder class for
MessageEvent . |
Tracestate.Entry |
Immutable key-value pair for
Tracestate . |
Tracing |
Class that manages a global instance of the
TraceComponent . |
Enum | Description |
---|---|
Link.Type |
The relationship with the linked
Span relative to the current Span . |
MessageEvent.Type |
Available types for a
MessageEvent . |
NetworkEvent.Type |
Available types for a
NetworkEvent . |
Span.Kind |
Type of span.
|
Span.Options |
Span options. |
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
io.opencensus.trace.propagation
package.