diff --git a/plugins/inputs/amqp_consumer/README.md b/plugins/inputs/amqp_consumer/README.md index e7701ad730e1b2669a99467fbf3583609d19e13d..bc42f91076f8cead7ab8cc5191dcfb676f5343ed 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 1dde6fe2385a9586ea4a99cbbcfa7132559ee245..739ed76e4390718d8e13e7cf6065142eded98249 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 817eea67373b2ccf5a362150fa8d5720ef4cc4b6..6002311f6293df3e9aae6a21f07a806ae1373753 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 faaa1027c02c40dae3e6f4518e487b8b3049d3e8..a69db1e6df7484d32f23b7c06680941161b22095 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 = ""