[][src]Function iredismodule::latency_add_sample

pub fn latency_add_sample(name: &str, ms: Duration)

Allows adding event to the latency monitor to be observed by the LATENCY command.

The call is skipped if the latency is smaller than the configured latency-monitor-threshold.