snarkvm_metrics

Function counter

Source
pub fn counter<V: Into<u64>>(name: &'static str, value: V)
Expand description

Updates a counter with the given name to the given value.

Counters represent a single monotonic value, which means the value can only be incremented, not decremented, and always starts out with an initial value of zero.