Note: This crate is specific to ChromeOS and requires the native libmetrics library at link time.
metrics_rs
is a Rust wrapper for libmetrics. This library is used to upload metrics to the UMA server.
Building and uploading the example.
(chroot)$ cargo build --release --examples (chroot)$ scp target/release/examples/metrics $DUT:/usr/local/bin
Running the example on your DUT:
(DUT)$ metrics