Module stats

Module stats 

Source

Structs§

AtomicEwma
Atomic EWMA that uses an AtomicF64 to store the current average.
Ewma
Exponentially Weighted Moving Average
EwmaDefault
Exponentially Weighted Moving Average that starts with a default average value
EwmaGauge
Couples a [Gauge] with an AtomicEwma so gauge readings reflect the EWMA.
EwmaVar
Exponentially Weighted Moving Average with variance calculation
Mean
Simple unweighted arithmetic mean
MeanVariance
TimeEwma
Continuous-Time Exponentially Weighted Moving Average.
TimeEwmaGauge
Couples a [Gauge] with a TimeEwma so gauge readings reflect the EWMA. Since TimeEwma has an internal state consisting of multiple values, this gauge requires a mutex to protect the state update.

Constants§

DEFAULT_EWMA_ALPHA
The default alpha parameter used when constructing EWMA-backed gauges.