Namespaces | |
| detail | |
| propagation | |
Data Structures | |
| class | DefaultSpan |
| DefaultSpan provides a non-operational Span that propagates the tracer context by wrapping it inside the Span object. More... | |
| struct | EndSpanOptions |
| EndSpanOptions provides options to set properties of a Span when it is ended. More... | |
| class | NoopSpan |
| No-op implementation of Span. More... | |
| class | NoopTracer |
| No-op implementation of Tracer. More... | |
| class | NoopTracerProvider |
| No-op implementation of a TracerProvider. More... | |
| class | NullSpanContext |
| Null Span context that does not carry any information. More... | |
| class | Provider |
| Stores the singleton global TracerProvider. More... | |
| class | Scope |
| Controls how long a span is active. More... | |
| class | Span |
| A Span represents a single operation within a Trace. More... | |
| class | SpanContext |
| class | SpanContextKeyValueIterable |
| Supports internal iteration over a collection of SpanContext/key-value pairs. More... | |
| class | SpanContextKeyValueIterableView |
| class | SpanId |
| struct | StartSpanOptions |
| StartSpanOptions provides options to set properties of a Span at the time of its creation. More... | |
| class | TraceFlags |
| class | TraceId |
| class | Tracer |
| Handles span creation and in-process context propagation. More... | |
| class | TracerProvider |
| Creates new Tracer instances. More... | |
| class | TraceState |
| TraceState carries tracing-system specific context in a list of key-value pairs. More... | |
Functions | |
| nostd::shared_ptr< Span > | GetSpan (const context::Context &context) noexcept |
| bool | IsRootSpan (const context::Context &context) noexcept |
| context::Context | SetSpan (context::Context &context, const nostd::shared_ptr< Span > &span) noexcept |
Variables | |
| constexpr char | kSpanKey [] = "active_span" |
| constexpr char | kIsRootSpanKey [] = "is_root_span" |
|
strong |
| Enumerator | |
|---|---|
| kInternal | |
| kServer | |
| kClient | |
| kProducer | |
| kConsumer | |
| kInternal | |
| kServer | |
| kClient | |
| kProducer | |
| kConsumer | |
Definition at line 13 of file includes/opentelemetry/trace/span_metadata.h.
|
strong |
| Enumerator | |
|---|---|
| kInternal | |
| kServer | |
| kClient | |
| kProducer | |
| kConsumer | |
| kInternal | |
| kServer | |
| kClient | |
| kProducer | |
| kConsumer | |
Definition at line 13 of file 9.2/includes/opentelemetry/trace/span_metadata.h.
|
strong |
| Enumerator | |
|---|---|
| kUnset | |
| kOk | |
| kError | |
| kUnset | |
| kOk | |
| kError | |
Definition at line 27 of file 9.2/includes/opentelemetry/trace/span_metadata.h.
|
strong |
| Enumerator | |
|---|---|
| kUnset | |
| kOk | |
| kError | |
| kUnset | |
| kOk | |
| kError | |
Definition at line 27 of file includes/opentelemetry/trace/span_metadata.h.
|
inlinenoexcept |
Definition at line 16 of file includes/opentelemetry/trace/context.h.
References trace::SpanContext::GetInvalid(), nostd::holds_alternative(), and kSpanKey.
Referenced by trace::propagation::JaegerPropagator::Inject(), trace::propagation::HttpTraceContext::Inject(), trace::propagation::B3Propagator::Inject(), and trace::propagation::B3PropagatorMultiHeader::Inject().
|
inlinenoexcept |
Definition at line 26 of file includes/opentelemetry/trace/context.h.
References kIsRootSpanKey.
|
inlinenoexcept |
Definition at line 37 of file includes/opentelemetry/trace/context.h.
References kSpanKey.
Referenced by trace::propagation::B3PropagatorExtractor::Extract(), trace::propagation::JaegerPropagator::Extract(), and trace::propagation::HttpTraceContext::Extract().
|
constexpr |
Definition at line 24 of file includes/opentelemetry/trace/span_metadata.h.
Referenced by IsRootSpan().
|
constexpr |
Definition at line 23 of file includes/opentelemetry/trace/span_metadata.h.
Referenced by trace::Tracer::GetCurrentSpan(), GetSpan(), and SetSpan().