diff --git a/plugins/inputs/amqp_consumer/README.md b/plugins/inputs/amqp_consumer/README.md index e7701ad73..bc42f9107 100644 --- a/plugins/inputs/amqp_consumer/README.md +++ b/plugins/inputs/amqp_consumer/README.md @@ -41,8 +41,8 @@ The following defaults are known to work with RabbitMQ: # exchange_durability = "durable" ## Additional exchange arguments. - # exchange_args = { } - # exchange_args = {"hash_propery" = "timestamp"} + # exchange_arguments = { } + # exchange_arguments = {"hash_propery" = "timestamp"} ## AMQP queue name queue = "telegraf" diff --git a/plugins/inputs/amqp_consumer/amqp_consumer.go b/plugins/inputs/amqp_consumer/amqp_consumer.go index 1dde6fe23..739ed76e4 100644 --- a/plugins/inputs/amqp_consumer/amqp_consumer.go +++ b/plugins/inputs/amqp_consumer/amqp_consumer.go @@ -95,8 +95,8 @@ func (a *AMQPConsumer) SampleConfig() string { # exchange_durability = "durable" ## Additional exchange arguments. - # exchange_args = { } - # exchange_args = {"hash_propery" = "timestamp"} + # exchange_arguments = { } + # exchange_arguments = {"hash_propery" = "timestamp"} ## AMQP queue name queue = "telegraf" diff --git a/plugins/outputs/amqp/README.md b/plugins/outputs/amqp/README.md index 817eea673..6002311f6 100644 --- a/plugins/outputs/amqp/README.md +++ b/plugins/outputs/amqp/README.md @@ -39,8 +39,8 @@ For an introduction to AMQP see: # exchange_durable = true ## Additional exchange arguments. - # exchange_args = { } - # exchange_args = {"hash_propery" = "timestamp"} + # exchange_arguments = { } + # exchange_arguments = {"hash_propery" = "timestamp"} ## Authentication credentials for the PLAIN auth_method. # username = "" diff --git a/plugins/outputs/amqp/amqp.go b/plugins/outputs/amqp/amqp.go index faaa1027c..a69db1e6d 100644 --- a/plugins/outputs/amqp/amqp.go +++ b/plugins/outputs/amqp/amqp.go @@ -97,8 +97,8 @@ var sampleConfig = ` # exchange_durable = true ## Additional exchange arguments. - # exchange_args = { } - # exchange_args = {"hash_propery" = "timestamp"} + # exchange_arguments = { } + # exchange_arguments = {"hash_propery" = "timestamp"} ## Authentication credentials for the PLAIN auth_method. # username = ""