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:
Nick 2016-05-25 12:37:48 +02:00 committed by Cameron Sparr
parent 1ef5599361
commit 9966099d1a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ type OpenTSDB struct {
}
var sanitizedChars = strings.NewReplacer("@", "-", "*", "-", " ", "_",
`%`, "-", "#", "-", "$", "-")
`%`, "-", "#", "-", "$", "-", ":", "_")
var sampleConfig = `
## prefix for metrics keys