userver: tracing::Tracer Class Reference
Loading...
Searching...
No Matches
tracing::Tracer Class Referenceabstract
+ Inheritance diagram for tracing::Tracer:
+ Collaboration diagram for tracing::Tracer:

Public Member Functions

const std::string & GetServiceName () const
 
Span CreateSpanWithoutParent (std::string name)
 
Span CreateSpan (std::string name, const Span &parent, ReferenceType reference_type)
 
virtual void LogSpanContextTo (const Span::Impl &span, logging::impl::TagWriter writer) const =0
 

Static Public Member Functions

static void SetNoLogSpans (NoLogSpans &&spans)
 
static bool IsNoLogSpan (const std::string &name)
 
static void SetTracer (TracerPtr tracer)
 
static TracerPtr GetTracer ()
 

Protected Member Functions

 Tracer (std::string_view service_name)
 

Detailed Description

Definition at line 20 of file tracer.hpp.

Constructor & Destructor Documentation

◆ Tracer()

tracing::Tracer::Tracer ( std::string_view  service_name)
inlineexplicitprotected

Definition at line 41 of file tracer.hpp.


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