Expand description
§OpenTelemetry process instrumentation
A process instrumentation for the opentelemetry Rust crate that captures key metrics about the running process, such as CPU and memory usage.
§Installation
Add this to your Cargo.toml:
[dependencies]
opentelemetry-instrumentation-process = "0.1.0"§Usage
opentelmetry_instrumentation_process::init().unwrap();§OS support
This library only supports Linux for now. It is a no-op on other operating systems.
Structs§
- Init
Error - The error returned when process metrics initialisation fails.
Functions§
- init
- Initialise process metrics collection.