prometrics
Rust client library for exposing prometheus metrics.
Examples
use default_gatherer;
use ;
let counter = new
.default_registry
.finish
.unwrap;
let gauge = new
.label
.default_registry
.finish
.unwrap;
counter.increment;
gauge.set;
let metrics = default_gatherer.lock.unwrap.gather;
assert_eq!;