Skip to content

Commit

Permalink
Deprecate camelCase config options in opentsdb output
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson committed Jul 2, 2018
1 parent 220e6c5 commit 2ee374c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/outputs/opentsdb/opentsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2ee374c

Please sign in to comment.