15 releases

0.0.22 Nov 28, 2024
0.0.21 Nov 27, 2024

#31 in Value formatting

Download history 80/week @ 2024-11-17 1123/week @ 2024-11-24 71/week @ 2024-12-01

1,274 downloads per month

MIT license

165KB
3K SLoC

Some examples

cargo run -- get-finest-resolution
cargo run -- get-node-state
cargo run -- get-node-elem-ranges

cargo run -- register-element-kind --code EK0 --name "Kind 0" --description "Desc 0"
cargo run -- register-element-kind --code EK01 --name "Kind 01" --description "Desc 01" --parent-code EK0
cargo run -- register-element-kind --code EK02 --name "Kind 02" --description "Desc 02" --parent-code EK0

cargo run -- register-element --kind EK0 --name "Elem 0"

cargo run -- get-node-elem-ranges

cargo run -- register-metric --code CPU --name "CPU %" --description "CPU usage on %"
cargo run -- register-metric --code MEM --name "MEM %" --description "MEM usage on %"

cargo run -- get-metric-order

cargo run -- send-metric --element-id 1 --metric-code "CPU" --value 5.5

cargo run -- get-metrics

Dependencies

~12–24MB
~336K SLoC