Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::otel_span_context Struct Reference

OpenTelemetry span context. More...

#include <opentelemetry_adapter.h>

Collaboration diagram for kcenon::monitoring::otel_span_context:
Collaboration graph

Public Member Functions

 otel_span_context ()=default
 
 otel_span_context (const std::string &tid, const std::string &sid)
 

Public Attributes

std::string trace_id
 
std::string span_id
 
std::string trace_flags
 
std::string trace_state
 
bool is_valid {false}
 
bool is_remote {false}
 

Detailed Description

OpenTelemetry span context.

Definition at line 113 of file opentelemetry_adapter.h.

Constructor & Destructor Documentation

◆ otel_span_context() [1/2]

kcenon::monitoring::otel_span_context::otel_span_context ( )
default

◆ otel_span_context() [2/2]

kcenon::monitoring::otel_span_context::otel_span_context ( const std::string & tid,
const std::string & sid )
inline

Member Data Documentation

◆ is_remote

bool kcenon::monitoring::otel_span_context::is_remote {false}

Definition at line 119 of file opentelemetry_adapter.h.

119{false};

Referenced by TEST_F().

◆ is_valid

bool kcenon::monitoring::otel_span_context::is_valid {false}

Definition at line 118 of file opentelemetry_adapter.h.

118{false};

Referenced by TEST_F().

◆ span_id

std::string kcenon::monitoring::otel_span_context::span_id

Definition at line 115 of file opentelemetry_adapter.h.

Referenced by TEST_F().

◆ trace_flags

std::string kcenon::monitoring::otel_span_context::trace_flags

Definition at line 116 of file opentelemetry_adapter.h.

◆ trace_id

std::string kcenon::monitoring::otel_span_context::trace_id

Definition at line 114 of file opentelemetry_adapter.h.

Referenced by TEST_F().

◆ trace_state

std::string kcenon::monitoring::otel_span_context::trace_state

Definition at line 117 of file opentelemetry_adapter.h.


The documentation for this struct was generated from the following file: