37 : name_(std::move(
name))
41 : name_(std::move(
name))
42 , parent_(std::move(
parent))
45 virtual void add_tag(
const std::string&
name, std::uint64_t value) = 0;
46 virtual void add_tag(
const std::string&
name,
const std::string& value) = 0;
47 virtual void end() = 0;
49 [[nodiscard]]
auto name() const -> const std::
string&
66 std::shared_ptr<request_span> parent_{
nullptr };
Definition request_span.hxx:27
auto parent() const -> std::shared_ptr< request_span >
Definition request_span.hxx:54
request_span(std::string name)
Definition request_span.hxx:36
virtual ~request_span()=default
request_span(request_span &&other)=default
virtual auto uses_tags() const -> bool
Definition request_span.hxx:59
request_span(std::string name, std::shared_ptr< request_span > parent)
Definition request_span.hxx:40
auto operator=(request_span &&other) -> request_span &=default
auto name() const -> const std::string &
Definition request_span.hxx:49
request_span(const request_span &other)=default
virtual void add_tag(const std::string &name, const std::string &value)=0
auto operator=(const request_span &other) -> request_span &=default
virtual void add_tag(const std::string &name, std::uint64_t value)=0
Definition otel_tracer.hxx:28