You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let total_bytes:Family<TrafficLabels,Counter> = Family::default();let connection_count:Family<ConnectionLabels,Gauge> = Family::default();letmut registry = Registry::default();
registry.register("total_bytes","Accumulated bytes going through sever",Box::new(total_bytes.clone()),);
registry.register("connection count","Count of current connections",Box::new(connection_count.clone()),);
Thanks @phyber for all the help you are providing to users of the library! Greatly appreciated.
@c19 what @phyber said above. As a heads up, this will soon be a lot simpler, i.e. your use-case will become the default behavior. In case you are interested, see #100.
results in:
The text was updated successfully, but these errors were encountered: