pub fn query() -> impl Iterator<Item = (String, f64)>
Get the current state of the metrics.
use epimetheus::metric; metric!(a_metric).set(42.0); assert_eq!( epimetheus::query().next(), Some(("a_metric".to_string(), 42.0)) );