Base class for propagating trace context information in headers.
Definition in file manager.hpp.
Go to the source code of this file.
#include <userver/clients/http/request_tracing_editor.hpp>
#include <userver/clients/http/response.hpp>
#include <userver/tracing/span.hpp>
#include <userver/tracing/span_builder.hpp>
#include <userver/utils/flags.hpp>
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) |