Expand description
§metrics_ipc_collector
A metrics collector using IPC for multi-process metrics aggregation.
§Async Support
Async support is available via the tokio feature flag. When enabled, all collector operations use async tasks and require a Tokio runtime. Enable with:
[dependencies]
metrics_ipc_collector = { version = "...", features = ["tokio"] }If the tokio feature is not enabled, the collector uses threads and blocking IO.
See README and examples for details.
Structs§
- IPCCollector
- Collects metrics from multiple processes via IPC.
- IPCRecorder
- An IPC recorder for sending metrics to an IPC socket.
- IPCRecorder
Builder - Builder for configuring and creating an
IPCRecorder.
Enums§
- Metrics
Error - Errors that can occur when setting up or using metrics IPC.