Trait cadence::Gauged [] [src]

pub trait Gauged {
    fn gauge(&self, key: &str, value: u64) -> MetricResult<Gauge>;
}

Trait for recording gauge values.

Gauge values are an instantaneous measurement of a value determined by the client. They do not change unless changed by the client. Examples include things like load average or how many connections are active.

See the Statsd spec for more information.

Required Methods

Record a gauge value with the given key

Implementors