userver: tracing Namespace Reference
Loading...
Searching...
No Matches
tracing Namespace Reference

Opentracing support. More...

Classes

class  DefaultTracingManager
 Used as default tracing manager. Provides methods for working with usual Yandex.Taxi tracing headers. More...
 
class  DefaultTracingManagerLocator
 Locator component that provides access to the actual TracingManager that will be used in handlers and clients unless specified otherwise. More...
 
class  InPlaceSpan
 Avoids an extra allocation by storing tracing::Span data in-place. More...
 
class  ScopeTime
 Type to measure execution time of a scope. More...
 
class  Span
 Measures the execution time of the current code block, links it with the parent tracing::Spans and stores that info in the log. More...
 
class  SpanBuilder
 Provides interface for editing Span, before final building. More...
 
class  Tracer
 
class  TracingManagerBase
 Base class for propagating trace context information in headers. More...
 
class  TracingManagerComponentBase
 Base component for implementing TracingManager component. More...
 

Typedefs

using TracerPtr = std::shared_ptr< Tracer >
 

Enumerations

enum class  ReferenceType {
  kChild ,
  kReference
}
 

Functions

TracerPtr MakeNoopTracer (const std::string &service_name)
 
logging::LoggerPtr OpentracingLogger ()
 Returns opentracing logger.
 
void SetOpentracingLogger (logging::LoggerPtr)
 Atomically replaces span logger.
 
void SetThrottleReason (std::string value)
 Sets a Span tag with overload reason.
 
void SetThrottleReason (Span &span, std::string &&value)
 

Variables

const DefaultTracingManager kDefaultTracingManager
 
const std::string kType
 
const std::string kHttpUrl
 
const std::string kHttpMetaType
 
const std::string kHttpMethod
 
const std::string kHttpStatusCode
 
const std::string kAttempts
 
const std::string kMaxAttempts
 
const std::string kTimeoutMs
 
const std::string kErrorFlag
 
const std::string kErrorMessage
 
const std::string kDatabaseType
 
const std::string kDatabaseMongoType
 
const std::string kDatabasePostgresType
 
const std::string kDatabaseRedisType
 
const std::string kDatabaseCollection
 
const std::string kDatabaseInstance
 
const std::string kDatabaseStatement
 
const std::string kDatabaseStatementName
 
const std::string kDatabaseStatementDescription
 
const std::string kPeerAddress
 

Detailed Description

Opentracing support.

Typedef Documentation

◆ TracerPtr

using tracing::TracerPtr = typedef std::shared_ptr<Tracer>

Definition at line 12 of file tracer_fwd.hpp.

Enumeration Type Documentation

◆ ReferenceType

enum class tracing::ReferenceType
strong

Definition at line 9 of file tracer_fwd.hpp.