Skip to content

Commit 2ee374c

Browse files
committed
Deprecate camelCase config options in opentsdb output
1 parent 220e6c5 commit 2ee374c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/outputs/opentsdb/opentsdb.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ type OpenTSDB struct {
3232
Host string
3333
Port int
3434

35-
HttpBatchSize int
35+
HttpBatchSize int // deprecated httpBatchSize form in 1.8
3636
HttpPath string
3737

3838
Debug bool
@@ -54,11 +54,11 @@ var sampleConfig = `
5454
5555
## Number of data points to send to OpenTSDB in Http requests.
5656
## Not used with telnet API.
57-
httpBatchSize = 50
57+
http_batch_size = 50
5858
5959
## URI Path for Http requests to OpenTSDB.
6060
## Used in cases where OpenTSDB is located behind a reverse proxy.
61-
httpPath = "/api/put"
61+
http_path = "/api/put"
6262
6363
## Debug true - Prints OpenTSDB communication
6464
debug = false

0 commit comments

Comments
 (0)