Fix ApplyTemplate change in graphite parser
This commit is contained in:
parent
b15928c95e
commit
b28b4bd71e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue