NVIDIA DeepStream SDK API Reference

9.2 Release
trace Namespace Reference

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...
 

Enumerations

enum  SpanKind {
  SpanKind::kInternal,
  SpanKind::kServer,
  SpanKind::kClient,
  SpanKind::kProducer,
  SpanKind::kConsumer,
  SpanKind::kInternal,
  SpanKind::kServer,
  SpanKind::kClient,
  SpanKind::kProducer,
  SpanKind::kConsumer
}
 
enum  StatusCode {
  StatusCode::kUnset,
  StatusCode::kOk,
  StatusCode::kError,
  StatusCode::kUnset,
  StatusCode::kOk,
  StatusCode::kError
}
 
enum  SpanKind {
  SpanKind::kInternal,
  SpanKind::kServer,
  SpanKind::kClient,
  SpanKind::kProducer,
  SpanKind::kConsumer,
  SpanKind::kInternal,
  SpanKind::kServer,
  SpanKind::kClient,
  SpanKind::kProducer,
  SpanKind::kConsumer
}
 
enum  StatusCode {
  StatusCode::kUnset,
  StatusCode::kOk,
  StatusCode::kError,
  StatusCode::kUnset,
  StatusCode::kOk,
  StatusCode::kError
}
 

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"
 

Enumeration Type Documentation

◆ SpanKind [1/2]

enum trace::SpanKind
strong
Enumerator
kInternal 
kServer 
kClient 
kProducer 
kConsumer 
kInternal 
kServer 
kClient 
kProducer 
kConsumer 

Definition at line 13 of file includes/opentelemetry/trace/span_metadata.h.

◆ SpanKind [2/2]

enum trace::SpanKind
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.

◆ StatusCode [1/2]

enum trace::StatusCode
strong
Enumerator
kUnset 
kOk 
kError 
kUnset 
kOk 
kError 

Definition at line 27 of file 9.2/includes/opentelemetry/trace/span_metadata.h.

◆ StatusCode [2/2]

enum trace::StatusCode
strong
Enumerator
kUnset 
kOk 
kError 
kUnset 
kOk 
kError 

Definition at line 27 of file includes/opentelemetry/trace/span_metadata.h.

Function Documentation

◆ GetSpan()

◆ IsRootSpan()

bool trace::IsRootSpan ( const context::Context &  context)
inlinenoexcept

Definition at line 26 of file includes/opentelemetry/trace/context.h.

References kIsRootSpanKey.

◆ SetSpan()

Variable Documentation

◆ kIsRootSpanKey

constexpr char trace::kIsRootSpanKey = "is_root_span"
constexpr

Definition at line 24 of file includes/opentelemetry/trace/span_metadata.h.

Referenced by IsRootSpan().

◆ kSpanKey

constexpr char trace::kSpanKey = "active_span"
constexpr