Update graphite.go
This commit is contained in:
@@ -32,7 +32,7 @@ func (s *GraphiteSerializer) Serialize(metric telegraf.Metric) ([]string, error)
|
|||||||
valueS := fmt.Sprintf("%#v", value)
|
valueS := fmt.Sprintf("%#v", value)
|
||||||
point := fmt.Sprintf("%s %s %d",
|
point := fmt.Sprintf("%s %s %d",
|
||||||
// insert "field" section of template
|
// insert "field" section of template
|
||||||
InsertField(bucket, sanitizedChars.Replace(fieldName)),
|
InsertField(bucket, fieldName),
|
||||||
valueS,
|
valueS,
|
||||||
timestamp)
|
timestamp)
|
||||||
out = append(out, point)
|
out = append(out, point)
|
||||||
|
|||||||
Reference in New Issue
Block a user