Deprecate camelCase config options in opentsdb output
This commit is contained in:
parent
220e6c5361
commit
2ee374cf50
|
@ -32,7 +32,7 @@ type OpenTSDB struct {
|
||||||
Host string
|
Host string
|
||||||
Port int
|
Port int
|
||||||
|
|
||||||
HttpBatchSize int
|
HttpBatchSize int // deprecated httpBatchSize form in 1.8
|
||||||
HttpPath string
|
HttpPath string
|
||||||
|
|
||||||
Debug bool
|
Debug bool
|
||||||
|
@ -54,11 +54,11 @@ var sampleConfig = `
|
||||||
|
|
||||||
## Number of data points to send to OpenTSDB in Http requests.
|
## Number of data points to send to OpenTSDB in Http requests.
|
||||||
## Not used with telnet API.
|
## Not used with telnet API.
|
||||||
httpBatchSize = 50
|
http_batch_size = 50
|
||||||
|
|
||||||
## URI Path for Http requests to OpenTSDB.
|
## URI Path for Http requests to OpenTSDB.
|
||||||
## Used in cases where OpenTSDB is located behind a reverse proxy.
|
## Used in cases where OpenTSDB is located behind a reverse proxy.
|
||||||
httpPath = "/api/put"
|
http_path = "/api/put"
|
||||||
|
|
||||||
## Debug true - Prints OpenTSDB communication
|
## Debug true - Prints OpenTSDB communication
|
||||||
debug = false
|
debug = false
|
||||||
|
|
Loading…
Reference in New Issue