userver: userver/tracing/manager.hpp File 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
manager.hpp File Reference

Detailed Description

Base class for propagating trace context information in headers.

Definition in file manager.hpp.

Go to the source code of this file.

+ Include dependency graph for manager.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  tracing::TracingManagerBase
 Base class for propagating trace context information in headers. More...
 
class  tracing::GenericTracingManager
 Generic tracing manager that knows about popular tracing headers and allows customising input and output headers. More...
 

Namespaces

namespace  server::http
 Server parts of the HTTP protocol implementation.
 
namespace  tracing
 Opentracing support.
 

Enumerations

enum class  tracing::Format : short {
  tracing::kYandexTaxi = 1 << 1 ,
  tracing::kYandex = 1 << 2 ,
  tracing::kOpenTelemetry = 1 << 3 ,
  tracing::kB3Alternative = 1 << 4
}
 

Functions

Format tracing::FormatFromString (std::string_view format)
 Converts a textual representation of format into tracing::Format enum.
 
bool tracing::TryFillSpanBuilderFromRequest (Format format, const server::http::HttpRequest &request, SpanBuilder &span_builder)
 
void tracing::FillRequestWithTracingContext (Format format, const tracing::Span &span, clients::http::RequestTracingEditor request)
 
void tracing::FillResponseWithTracingContext (Format format, const Span &span, server::http::HttpResponse &response)