Deprecate camelCase config options in opentsdb output

This commit is contained in:
Daniel Nelson 2018-07-02 15:10:10 -07:00
parent 220e6c5361
commit 2ee374cf50
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ type OpenTSDB struct {
Host string
Port int
HttpBatchSize int
HttpBatchSize int // deprecated httpBatchSize form in 1.8
HttpPath string
Debug bool
@ -54,11 +54,11 @@ var sampleConfig = `
## Number of data points to send to OpenTSDB in Http requests.
## Not used with telnet API.
httpBatchSize = 50
http_batch_size = 50
## URI Path for Http requests to OpenTSDB.
## Used in cases where OpenTSDB is located behind a reverse proxy.
httpPath = "/api/put"
http_path = "/api/put"
## Debug true - Prints OpenTSDB communication
debug = false