metrics fix: edit mutate key to replace - with _ (#1217)
This commit is contained in:
parent
d3873f4ccf
commit
b6b274eba2
@ -126,5 +126,7 @@ func (c *collector) writeSummaryPercentile(name, p string, value interface{}) {
|
||||
}
|
||||
|
||||
func mutateKey(key string) string {
|
||||
return strings.Replace(key, "/", "_", -1)
|
||||
key = strings.Replace(key, "/", "_", -1)
|
||||
key = strings.Replace(key, "-", "_", -1)
|
||||
return key
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user