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/middlewares/base.hpp>#include <userver/clients/http/response.hpp>#include <userver/tracing/span.hpp>#include <userver/tracing/span_builder.hpp>#include <userver/utils/flags.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 |
| Distributed tracing helpers and identifiers. | |
Enumerations | |
| enum class | tracing::Format : short { tracing::kYandexTaxi = 1 << 1 , tracing::kYandex = 1 << 2 , tracing::kOpenTelemetry = 1 << 3 , tracing::kB3Alternative = 1 << 4 } |
| enum | tracing::OtelTraceFlags : std::uint8_t { kNoTracing = 0x00 , kSampled = 0x01 } |
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::MiddlewareRequest request) |
| void | tracing::FillResponseWithTracingContext (Format format, const Span &span, server::http::HttpResponse &response) |
| OtelTraceFlags | tracing::GetInheritedOtelTraceFlags () |
| std::string_view | tracing::GetInheritedOtelTraceState () |
| void | tracing::SetInheritedOtelTracingData (std::string_view tracestate, std::string_view traceflags) |