Update graphite.go

This commit is contained in:
G-regL 2016-04-28 12:52:47 -04:00
parent 12cbf86010
commit 13c4aef197
1 changed files with 1 additions and 1 deletions

View File

@ -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)