From 13c4aef1975d0a99fd34f66989b581f0d5179e44 Mon Sep 17 00:00:00 2001 From: G-regL Date: Thu, 28 Apr 2016 12:52:47 -0400 Subject: [PATCH] Update graphite.go --- plugins/serializers/graphite/graphite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/serializers/graphite/graphite.go b/plugins/serializers/graphite/graphite.go index 32265325a..bf2e75579 100644 --- a/plugins/serializers/graphite/graphite.go +++ b/plugins/serializers/graphite/graphite.go @@ -32,7 +32,7 @@ func (s *GraphiteSerializer) Serialize(metric telegraf.Metric) ([]string, error) valueS := fmt.Sprintf("%#v", value) point := fmt.Sprintf("%s %s %d", // insert "field" section of template - InsertField(bucket, sanitizedChars.Replace(fieldName)), + InsertField(bucket, fieldName), valueS, timestamp) out = append(out, point)