Versions in this module Expand all Collapse all v1 v1.2.0 Apr 26, 2021 v1.1.1 Jul 27, 2017 Changes in this version + const AVG_METRIC_AGE + const DECAY + const WARMUP_SAMPLES + type MovingAverage interface + Add func(float64) + Set func(float64) + Value func() float64 + func NewMovingAverage(age ...float64) MovingAverage + type SimpleEWMA struct + func (e *SimpleEWMA) Add(value float64) + func (e *SimpleEWMA) Set(value float64) + func (e *SimpleEWMA) Value() float64 + type VariableEWMA struct + func (e *VariableEWMA) Add(value float64) + func (e *VariableEWMA) Set(value float64) + func (e *VariableEWMA) Value() float64