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