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,17 +22,17 @@ type OpenTSDB struct {
}
var sampleConfig = `
# prefix for metrics keys
### prefix for metrics keys
prefix = "my.specific.prefix."
## Telnet Mode ##
# DNS name of the OpenTSDB server in telnet mode
### DNS name of the OpenTSDB server in telnet mode
host = "opentsdb.example.com"
# Port of the OpenTSDB server in telnet mode
### Port of the OpenTSDB server in telnet mode
port = 4242
# Debug true - Prints OpenTSDB communication
### Debug true - Prints OpenTSDB communication
debug = false
`