Add support for datadog events to statsd input (#5791)
This commit is contained in:
committed by
Daniel Nelson
parent
9318d47a38
commit
8f3ed45797
@@ -49,7 +49,7 @@ func (rs *RunningStats) AddValue(v float64) {
|
||||
}
|
||||
|
||||
// These are used for the running mean and variance
|
||||
rs.n += 1
|
||||
rs.n++
|
||||
rs.ex += v - rs.k
|
||||
rs.ex2 += (v - rs.k) * (v - rs.k)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user