Skip to main content

Crate metrics_ipc_collector

Crate metrics_ipc_collector 

Source
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.
IPCRecorderBuilder
Builder for configuring and creating an IPCRecorder.

Enums§

MetricsError
Errors that can occur when setting up or using metrics IPC.