sanitize * to - in graphite serializer

closes #1110
This commit is contained in:
Bob Zoller
2016-04-27 15:19:22 -07:00
committed by Cameron Sparr
parent 8742ead585
commit 1390c22004
2 changed files with 2 additions and 1 deletions

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{}