26#ifndef ROUTING_TRACE_SPAN_INCLUDED
27#define ROUTING_TRACE_SPAN_INCLUDED
37 std::pair<std::string,
38 std::variant<std::monostate, int64_t, bool, std::string>>;
57 std::chrono::steady_clock::time_point
end_time;
105 std::chrono::system_clock::now()};
107 std::chrono::steady_clock::now()};
Events of a command.
Definition: trace_span.h:77
void active(bool v)
Definition: trace_span.h:80
std::chrono::steady_clock::time_point start_time_point() const
Definition: trace_span.h:87
std::chrono::system_clock::time_point start_system_time_point_
Definition: trace_span.h:104
std::list< TraceEvent > events_
Definition: trace_span.h:102
std::list< TraceEvent > & events()
Definition: trace_span.h:93
bool active() const
Definition: trace_span.h:79
bool active_
Definition: trace_span.h:109
std::chrono::steady_clock::time_point start_time_point_
Definition: trace_span.h:106
const std::list< TraceEvent > & events() const
Definition: trace_span.h:91
std::chrono::system_clock::time_point start_system_time_point() const
Definition: trace_span.h:82
bool empty() const
Definition: trace_span.h:97
void clear()
Definition: trace_span.h:95
Definition: gcs_xcom_synode.h:64
Definition: trace_span.h:35
std::chrono::steady_clock::time_point end_time
Definition: trace_span.h:57
std::string name
Definition: trace_span.h:61
std::chrono::steady_clock::time_point start_time
Definition: trace_span.h:56
attributes_type attrs
Definition: trace_span.h:63
std::list< TraceEvent > events
Definition: trace_span.h:59
StatusCode
Definition: trace_span.h:65
std::chrono::system_clock::time_point start_time_system
Definition: trace_span.h:55
TraceEvent(std::string name_)
Definition: trace_span.h:49
StatusCode status_code
Definition: trace_span.h:71
std::vector< element_type > attributes_type
Definition: trace_span.h:39
std::pair< std::string, std::variant< std::monostate, int64_t, bool, std::string > > element_type
Definition: trace_span.h:38
TraceEvent(std::string name_, attributes_type attrs_)
Definition: trace_span.h:41