sanitize * to - in graphite serializer

closes #1110
This commit is contained in:
Bob Zoller
2016-04-27 18:05:44 -06:00
committed by Cameron Sparr
parent 8742ead585
commit 1390c22004
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ type GraphiteSerializer struct {
Template string
}
var sanitizedChars = strings.NewReplacer("/", "-", "@", "-", " ", "_", "..", ".")
var sanitizedChars = strings.NewReplacer("/", "-", "@", "-", "*", "-", " ", "_", "..", ".")
func (s *GraphiteSerializer) Serialize(metric telegraf.Metric) ([]string, error) {
out := []string{}