userver: tracing::Tracer Class Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
+ 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: