Function snarkvm_metrics::gauge

source ·
pub fn gauge<V: Into<f64>>(name: &'static str, value: V)
Expand description

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

Gauges represent a single value that can go up or down over time, and always starts out with an initial value of zero.