|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Zipkin-specific span representation. More...
#include <trace_exporters.h>

Public Member Functions | |
| std::string | to_json_v2 () const |
| Convert to Zipkin JSON v2 format. | |
| std::vector< uint8_t > | to_protobuf () const |
| Convert to Zipkin protobuf format (stub) | |
Public Attributes | |
| std::string | trace_id |
| std::string | span_id |
| std::string | parent_id |
| std::string | name |
| std::string | kind |
| std::chrono::microseconds | timestamp |
| std::chrono::microseconds | duration |
| std::string | local_endpoint_service_name |
| std::string | remote_endpoint_service_name |
| std::unordered_map< std::string, std::string > | tags |
| bool | shared = false |
Zipkin-specific span representation.
Definition at line 167 of file trace_exporters.h.
|
inline |
Convert to Zipkin JSON v2 format.
Definition at line 183 of file trace_exporters.h.
References duration, kind, local_endpoint_service_name, name, parent_id, remote_endpoint_service_name, shared, span_id, tags, timestamp, and trace_id.
|
inline |
Convert to Zipkin protobuf format (stub)
Definition at line 225 of file trace_exporters.h.
| std::chrono::microseconds kcenon::monitoring::zipkin_span_data::duration |
Definition at line 174 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::kind |
Definition at line 172 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::local_endpoint_service_name |
Definition at line 175 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::name |
Definition at line 171 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::parent_id |
Definition at line 170 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::remote_endpoint_service_name |
Definition at line 176 of file trace_exporters.h.
Referenced by to_json_v2().
| bool kcenon::monitoring::zipkin_span_data::shared = false |
Definition at line 178 of file trace_exporters.h.
Referenced by to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::span_id |
Definition at line 169 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::unordered_map<std::string, std::string> kcenon::monitoring::zipkin_span_data::tags |
Definition at line 177 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::chrono::microseconds kcenon::monitoring::zipkin_span_data::timestamp |
Definition at line 173 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().
| std::string kcenon::monitoring::zipkin_span_data::trace_id |
Definition at line 168 of file trace_exporters.h.
Referenced by kcenon::monitoring::zipkin_exporter::convert_span(), and to_json_v2().