[−][src]Macro metrics_facade::counter
Records a counter.
Functionally equivalent to calling Recorder::record_counter
.
Examples
fn do_thing() { let count: u64 = 42; counter!("do_thing", count); }
Records a counter.
Functionally equivalent to calling Recorder::record_counter
.
fn do_thing() { let count: u64 = 42; counter!("do_thing", count); }