tree: 649e2482c33976b205003433dc921cf829594598 [path history] [tgz]
  1. examples/
  2. src/
  3. build.rs
  4. Cargo.toml
  5. README.md
metrics/rust-client/README.md

Metrics Rust wrapper

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.

Running the example on DUT

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