From 47264bc8602240b3e5c4ad11189b1f2b054b2724 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Thu, 24 Aug 2017 13:17:29 -0700 Subject: [PATCH] Fix amqp_consumer data_format documentation closes #3164 (cherry picked from commit 656ce31d9883e3488717e881afce9c440c7e2982) --- plugins/inputs/amqp_consumer/README.md | 4 ++-- plugins/inputs/amqp_consumer/amqp_consumer.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/inputs/amqp_consumer/README.md b/plugins/inputs/amqp_consumer/README.md index 2bc06686e..11084bedc 100644 --- a/plugins/inputs/amqp_consumer/README.md +++ b/plugins/inputs/amqp_consumer/README.md @@ -39,9 +39,9 @@ The following defaults are known to work with RabbitMQ: ## Use SSL but skip chain & host verification # insecure_skip_verify = false - ## Data format to output. + ## Data format to consume. ## Each data format has its own unique set of configuration options, read ## more about them here: - ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md + ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md data_format = "influx" ``` diff --git a/plugins/inputs/amqp_consumer/amqp_consumer.go b/plugins/inputs/amqp_consumer/amqp_consumer.go index 7f7dfb11d..ee1b9aee1 100644 --- a/plugins/inputs/amqp_consumer/amqp_consumer.go +++ b/plugins/inputs/amqp_consumer/amqp_consumer.go @@ -85,10 +85,10 @@ func (a *AMQPConsumer) SampleConfig() string { ## Use SSL but skip chain & host verification # insecure_skip_verify = false - ## Data format to output. + ## Data format to consume. ## Each data format has its own unique set of configuration options, read ## more about them here: - ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md + ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md data_format = "influx" ` }