diff --git a/plugins/statsd/statsd.go b/plugins/statsd/statsd.go index 50e6b891e..668f0e8b1 100644 --- a/plugins/statsd/statsd.go +++ b/plugins/statsd/statsd.go @@ -380,7 +380,7 @@ func (s *Statsd) parseName(bucket string) (string, map[string]string) { name := bucketparts[0] p, err := graphite.NewParserWithOptions(o) if err == nil { - name, tags = p.ApplyTemplate(name) + name, tags, _, _ = p.ApplyTemplate(name) } name = strings.Replace(name, ".", "_", -1) name = strings.Replace(name, "-", "__", -1)