sanitize * to - in graphite serializer

This commit is contained in:
Bob Zoller 2016-04-27 15:19:22 -07:00
parent 89f2c0b0a4
commit 841aad3904
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ type GraphiteSerializer struct {
Template string Template string
} }
var sanitizedChars = strings.NewReplacer("/", "-", "@", "-", " ", "_", "..", ".") var sanitizedChars = strings.NewReplacer("/", "-", "@", "-", "*", "-", " ", "_", "..", ".")
func (s *GraphiteSerializer) Serialize(metric telegraf.Metric) ([]string, error) { func (s *GraphiteSerializer) Serialize(metric telegraf.Metric) ([]string, error) {
out := []string{} out := []string{}