Add support for timing sums in statsd input (#3234)
This commit is contained in:
committed by
Daniel Nelson
parent
f2294c7f2c
commit
3073221f7d
@@ -235,6 +235,7 @@ func (s *Statsd) Gather(acc telegraf.Accumulator) error {
|
||||
}
|
||||
fields[prefix+"mean"] = stats.Mean()
|
||||
fields[prefix+"stddev"] = stats.Stddev()
|
||||
fields[prefix+"sum"] = stats.Sum()
|
||||
fields[prefix+"upper"] = stats.Upper()
|
||||
fields[prefix+"lower"] = stats.Lower()
|
||||
fields[prefix+"count"] = stats.Count()
|
||||
|
||||
Reference in New Issue
Block a user