|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
Implementation of trace context for distributed tracing. More...
#include "kcenon/network/detail/tracing/trace_context.h"#include "kcenon/network/detail/tracing/span.h"#include <algorithm>#include <array>#include <cctype>#include <cstring>#include <random>#include <sstream>
Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::network |
| Main namespace for all Network System components. | |
| namespace | kcenon::network::tracing |
Functions | |
| auto | kcenon::network::tracing::generate_trace_id () -> trace_id_t |
| Generate a random trace ID. | |
| auto | kcenon::network::tracing::generate_span_id () -> span_id_t |
| Generate a random span ID. | |
| auto | kcenon::network::tracing::bytes_to_hex (const uint8_t *data, size_t size) -> std::string |
| Convert bytes to lowercase hex string. | |
| auto | kcenon::network::tracing::hex_to_bytes (std::string_view hex, uint8_t *out, size_t size) -> bool |
| Parse hex string to bytes. | |
Implementation of trace context for distributed tracing.
Definition in file trace_context.cpp.