|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Span builder for creating new spans. More...
#include <distributed_tracer.h>

Public Member Functions | |
| span_builder & | with_trace_id (const std::string &id) |
| span_builder & | with_parent (const std::string &parent_id) |
| span_builder & | with_operation (const std::string &name) |
| span_builder & | with_service (const std::string &name) |
| span_builder & | with_tag (const std::string &key, const std::string &value) |
| span_builder & | with_baggage (const std::string &key, const std::string &value) |
| trace_span | build () |
Private Attributes | |
| trace_span | span_ |
Span builder for creating new spans.
Definition at line 145 of file distributed_tracer.h.
|
inline |
Definition at line 180 of file distributed_tracer.h.
References kcenon::monitoring::thread_context::generate_correlation_id(), kcenon::monitoring::thread_context::generate_request_id(), span_, kcenon::monitoring::trace_span::span_id, kcenon::monitoring::trace_span::start_time, and kcenon::monitoring::trace_span::trace_id.

|
inline |
Definition at line 175 of file distributed_tracer.h.
References kcenon::monitoring::trace_span::baggage, and span_.
|
inline |
Definition at line 160 of file distributed_tracer.h.
References kcenon::monitoring::trace_span::operation_name, and span_.
|
inline |
Definition at line 155 of file distributed_tracer.h.
References kcenon::monitoring::trace_span::parent_span_id, and span_.
|
inline |
Definition at line 165 of file distributed_tracer.h.
References kcenon::monitoring::trace_span::service_name, and span_.
|
inline |
Definition at line 170 of file distributed_tracer.h.
References span_, and kcenon::monitoring::trace_span::tags.
|
inline |
Definition at line 150 of file distributed_tracer.h.
References span_, and kcenon::monitoring::trace_span::trace_id.
|
private |
Definition at line 147 of file distributed_tracer.h.
Referenced by build(), with_baggage(), with_operation(), with_parent(), with_service(), with_tag(), and with_trace_id().