6#include <userver/clients/http/plugin.hpp>
7#include <userver/clients/http/response.hpp>
8#include <userver/tracing/span.hpp>
9#include <userver/tracing/span_builder.hpp>
10#include <userver/utils/flags.hpp>
12USERVER_NAMESPACE_BEGIN
14namespace server::
http {
28 virtual ~TracingManagerBase() =
default;
78bool TryFillSpanBuilderFromRequest(
Format format,
const server::
http::HttpRequest& request, SpanBuilder& span_builder);
80void FillRequestWithTracingContext(
Format format,
const tracing::Span& span, clients::
http::PluginRequest request);
82void FillResponseWithTracingContext(
Format format,
const Span& span, server::
http::HttpResponse& response);
88 GenericTracingManager() =
delete;
91 : in_request_response_{in_request_response}, new_request_{new_request} {}