Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
otel_request_span Class Reference

#include <couchbase/tracing/otel_tracer.hxx>

Inheritance diagram for otel_request_span:
Inheritance graph

Public Member Functions

 otel_request_span (nostd::shared_ptr< opentelemetry::trace::Span > span)
 
void add_tag (const std::string &name, const std::string &value) override
 
void add_tag (const std::string &name, uint64_t value) override
 
void end () override
 
nostd::shared_ptr< opentelemetry::trace::Span > wrapped_span ()
 
- Public Member Functions inherited from request_span
 request_span ()=default
 
 request_span (const request_span &other)=default
 
 request_span (request_span &&other)=default
 
auto operator= (const request_span &other) -> request_span &=default
 
auto operator= (request_span &&other) -> request_span &=default
 
virtual ~request_span ()=default
 
 request_span (std::string name)
 
 request_span (std::string name, std::shared_ptr< request_span > parent)
 
virtual void add_tag (const std::string &name, std::uint64_t value)=0
 
auto name () const -> const std::string &
 
auto parent () const -> std::shared_ptr< request_span >
 
virtual auto uses_tags () const -> bool
 

Constructor & Destructor Documentation

◆ otel_request_span()

otel_request_span ( nostd::shared_ptr< opentelemetry::trace::Span > span)
inlineexplicit

Member Function Documentation

◆ add_tag() [1/2]

void add_tag ( const std::string & name,
const std::string & value )
inlineoverridevirtual

Implements request_span.

◆ add_tag() [2/2]

void add_tag ( const std::string & name,
uint64_t value )
inlineoverride

◆ end()

void end ( )
inlineoverridevirtual

Implements request_span.

◆ wrapped_span()

nostd::shared_ptr< opentelemetry::trace::Span > wrapped_span ( )
inline

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