diff options
Diffstat (limited to 'metrics/ewma.go')
-rw-r--r-- | metrics/ewma.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/metrics/ewma.go b/metrics/ewma.go index 3aecd4fa3..57c949e7d 100644 --- a/metrics/ewma.go +++ b/metrics/ewma.go @@ -17,9 +17,6 @@ type EWMA interface { // NewEWMA constructs a new EWMA with the given alpha. func NewEWMA(alpha float64) EWMA { - if !Enabled { - return NilEWMA{} - } return &StandardEWMA{alpha: alpha} } |