From 300568db7259eac8c4b97e3ba765824055a2ee1f Mon Sep 17 00:00:00 2001 From: James Maidment Date: Tue, 17 Apr 2018 18:43:10 -0400 Subject: [PATCH] Update mem values to gauge (#4034) --- plugins/inputs/system/memory.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/inputs/system/memory.go b/plugins/inputs/system/memory.go index 490c56f89..3cb95610e 100644 --- a/plugins/inputs/system/memory.go +++ b/plugins/inputs/system/memory.go @@ -37,7 +37,7 @@ func (s *MemStats) Gather(acc telegraf.Accumulator) error { "used_percent": 100 * float64(vm.Used) / float64(vm.Total), "available_percent": 100 * float64(vm.Available) / float64(vm.Total), } - acc.AddCounter("mem", fields, nil) + acc.AddGauge("mem", fields, nil) return nil }