Skip to content
Snippets Groups Projects
Commit 9966099d authored by Nick's avatar Nick Committed by Cameron Sparr
Browse files

Replace ":" with "_" in tags. This should make the mysql plugin work with the...

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)
parent 1ef55993
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ type OpenTSDB struct {
}
var sanitizedChars = strings.NewReplacer("@", "-", "*", "-", " ", "_",
`%`, "-", "#", "-", "$", "-")
`%`, "-", "#", "-", "$", "-", ":", "_")
var sampleConfig = `
## prefix for metrics keys
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment