#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.
Classes | |
struct | DetachedTag |
Public Member Functions | |
InPlaceSpan (std::string &&name, const utils::impl::SourceLocation &source_location=utils::impl::SourceLocation::Current()) | |
InPlaceSpan (std::string &&name, std::string_view trace_id, std::string_view parent_span_id, const utils::impl::SourceLocation &source_location=utils::impl::SourceLocation::Current()) | |
InPlaceSpan (std::string &&name, DetachedTag, const utils::impl::SourceLocation &source_location=utils::impl::SourceLocation::Current()) | |
InPlaceSpan (InPlaceSpan &&)=delete | |
InPlaceSpan & | operator= (InPlaceSpan &&)=delete |
tracing::Span & | Get () noexcept |