|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Thread-local context management for request tracking and distributed tracing. More...
#include <string>#include <chrono>#include <optional>#include <unordered_map>#include <memory>

Go to the source code of this file.
Classes | |
| struct | kcenon::monitoring::context_metadata |
| Context metadata for thread-specific information. More... | |
| struct | kcenon::monitoring::thread_context_data |
| Enhanced thread context data for comprehensive request and trace tracking. More... | |
| class | kcenon::monitoring::thread_context |
| Thread-local context management for request tracking. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::monitoring |
Thread-local context management for request tracking and distributed tracing.
Provides thread-local storage for request metadata (request IDs, correlation IDs, trace/span IDs) enabling distributed tracing and per-request diagnostics across the monitoring system.
Uses thread_context as the primary API with pointer-based thread-local storage.
Each thread has its own independent context via thread_local storage. No cross-thread synchronization is needed for context operations.
Definition in file thread_context.h.