replace invalid chars in metric name
This commit is contained in:
parent
be8124772b
commit
b4d2c7f28d
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
const agentHostnameLabelKey = "agent_hostname"
|
||||
|
||||
var metricReplacer = strings.NewReplacer("-", "_", ".", "_")
|
||||
var metricReplacer = strings.NewReplacer("-", "_", ".", "_", " ", "_", "'", "_", "\"", "_")
|
||||
|
||||
type InputReader struct {
|
||||
input inputs.Input
|
||||
|
|
Loading…
Reference in New Issue