#include <userver/tracing/in_place_span.hpp>
Avoids an extra allocation by storing tracing::Span data in-place.
Definition at line 18 of file in_place_span.hpp.
Public Member Functions | |
InPlaceSpan (std::string &&name, utils::impl::SourceLocation source_location=utils::impl::SourceLocation::Current()) | |
InPlaceSpan (std::string &&name, std::string &&trace_id, std::string &&parent_span_id, utils::impl::SourceLocation source_location=utils::impl::SourceLocation::Current()) | |
InPlaceSpan (InPlaceSpan &&)=delete | |
InPlaceSpan & | operator= (InPlaceSpan &&)=delete |
tracing::Span & | Get () noexcept |