8#include <userver/tracing/span.hpp>
9#include <userver/utils/fast_pimpl.hpp>
11USERVER_NAMESPACE_BEGIN
18class InPlaceSpan
final {
20 explicit InPlaceSpan(std::string&& name,
21 utils::impl::SourceLocation source_location =
22 utils::impl::SourceLocation::Current());
24 explicit InPlaceSpan(std::string&& name, std::string&& trace_id,
25 std::string&& parent_span_id,
26 utils::impl::SourceLocation source_location =
27 utils::impl::SourceLocation::Current());
29 InPlaceSpan(InPlaceSpan&&) =
delete;
30 InPlaceSpan& operator=(InPlaceSpan&&) =
delete;
37 utils::FastPimpl<Impl, 4224, 8> impl_;