Name Description Size Coverage
context.h 1224 0 %
default_span.h DefaultSpan provides a non-operational Span that propagates the tracer context by wrapping it inside the Span object. 2441 11 %
noop.h No-op implementation of Span. This class should not be used directly. 5179 39 %
provider.h Stores the singleton global TracerProvider. 1493 100 %
scope.h Controls how long a span is active. On creation of the Scope object, the given span is set to the currently active span. On destruction, the given span is ended and the previously active span will be the currently active span again. 1136 -
span.h A Span represents a single operation within a Trace. Span attributes can be provided: - at span creation time, using Tracer::StartSpan(), - during the span lifetime, using Span::SetAttribute() Please note that head samplers, in the SDK (@ref opentelemetry::sdk::trace::Sampler), can only make sampling decisions based on data known at span creation time. When attributes are known early, adding attributes with @ref opentelemetry::trace::Tracer::StartSpan() is preferable. Attributes added or changed with Span::SetAttribute() can not change a sampler decision. Likewise, links can be provided: - at span creation time, using Tracer::StartSpan(), - during the span lifetime, using Span::AddLink() or Span::AddLinks(). When links are known early, adding links with @ref opentelemetry::trace::Tracer::StartSpan() is preferable. Links added with Span::AddLink() or Span::AddLinks() can not change a sampler decision. 8581 40 %
span_context.h SpanContext contains the state that must propagate to child Spans and across process boundaries. It contains TraceId and SpanId, TraceFlags, TraceState and whether it was propagated from a remote parent. 3251 100 %
span_context_kv_iterable.h Supports internal iteration over a collection of SpanContext/key-value pairs. 1523 100 %
span_context_kv_iterable_view.h 3795 27 %
span_id.h 1714 71 %
span_metadata.h EndSpanOptions provides options to set properties of a Span when it is ended. 965 -
span_startoptions.h StartSpanOptions provides options to set properties of a Span at the time of its creation 2537 -
trace_flags.h Valid flags in W3C Trace Context version 1. See https://www.w3.org/TR/trace-context-1/#trace-flags 1916 100 %
trace_id.h 1860 80 %
trace_state.h TraceState carries tracing-system specific context in a list of key-value pairs. TraceState allows different vendors to propagate additional information and inter-operate with their legacy id formats. For more information, see the W3C Trace Context specification: https://www.w3.org/TR/trace-context 9850 21 %
tracer.h Handles span creation and in-process context propagation. This class provides methods for manipulating the context, creating spans, and controlling spans' lifecycles. 9049 100 %
tracer_provider.h Creates new Tracer instances. 4206 100 %