From 2ee374cf501e4ee9951108a61ebd2d15bb08e7d8 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 2 Jul 2018 15:10:10 -0700 Subject: [PATCH] Deprecate camelCase config options in opentsdb output --- plugins/outputs/opentsdb/opentsdb.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/outputs/opentsdb/opentsdb.go b/plugins/outputs/opentsdb/opentsdb.go index 96d022c19..964b1768f 100644 --- a/plugins/outputs/opentsdb/opentsdb.go +++ b/plugins/outputs/opentsdb/opentsdb.go @@ -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