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)