Expand description
This is my awesome crate Enabling system metrics from process to be observed using opentelemetry. Current metrics observed are:
- CPU
- Memory
- Disk
- Network
§Getting started
use opentelemetry::global;
use opentelemetry_system_metrics::init_process_observer;
let meter = global::meter("process-meter");
init_process_observer(meter);
Functions§
- init_
process_ observer - Record asynchronnously information about the current process.
- init_
process_ observer_ for_ pid - Record asynchronously information about a specific process by its PID.