Replace ":" with "_" in tags. This should make the mysql plugin work with the opentsdb output (it uses a "server" tag like "127.0.0.1:3306") (#1256)
This commit is contained in:
parent
1ef5599361
commit
9966099d1a
|
@ -22,7 +22,7 @@ type OpenTSDB struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var sanitizedChars = strings.NewReplacer("@", "-", "*", "-", " ", "_",
|
var sanitizedChars = strings.NewReplacer("@", "-", "*", "-", " ", "_",
|
||||||
`%`, "-", "#", "-", "$", "-")
|
`%`, "-", "#", "-", "$", "-", ":", "_")
|
||||||
|
|
||||||
var sampleConfig = `
|
var sampleConfig = `
|
||||||
## prefix for metrics keys
|
## prefix for metrics keys
|
||||||
|
|
Loading…
Reference in New Issue