mqtt output: cleanup, implement TLS

Also normalize TLS config across all output plugins and normalize
comment strings as well.
This commit is contained in:
Cameron Sparr
2016-02-03 12:59:34 -07:00
parent b941d270ce
commit bd9c5b6995
17 changed files with 236 additions and 194 deletions

View File

@@ -22,11 +22,11 @@ type Graphite struct {
}
var sampleConfig = `
# TCP endpoint for your graphite instance.
### TCP endpoint for your graphite instance.
servers = ["localhost:2003"]
# Prefix metrics name
### Prefix metrics name
prefix = ""
# timeout in seconds for the write connection to graphite
### timeout in seconds for the write connection to graphite
timeout = 2
`