From 94132910641bacf963d48968b7e4738457bbdc31 Mon Sep 17 00:00:00 2001 From: reimda Date: Mon, 13 Apr 2020 13:44:03 -0600 Subject: [PATCH] Fix error in docs about exclude_retention_policy_tag (#7311) --- plugins/outputs/influxdb/README.md | 4 ++-- plugins/outputs/influxdb/influxdb.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/outputs/influxdb/README.md b/plugins/outputs/influxdb/README.md index f82a3b344..a53b7a0f2 100644 --- a/plugins/outputs/influxdb/README.md +++ b/plugins/outputs/influxdb/README.md @@ -23,7 +23,7 @@ The InfluxDB output plugin writes metrics to the [InfluxDB v1.x] HTTP or UDP ser ## tag is not set the 'database' option is used as the default. # database_tag = "" - ## If true, the database tag will not be added to the metric. + ## If true, the 'database_tag' will not be included in the written metric. # exclude_database_tag = false ## If true, no CREATE DATABASE queries will be sent. Set to true when using @@ -39,7 +39,7 @@ The InfluxDB output plugin writes metrics to the [InfluxDB v1.x] HTTP or UDP ser ## tag is not set the 'retention_policy' option is used as the default. # retention_policy_tag = "" - ## If true, the 'retention_policy_tag' will not be removed from the metric. + ## If true, the 'retention_policy_tag' will not be included in the written metric. # exclude_retention_policy_tag = false ## Write consistency (clusters only), can be: "any", "one", "quorum", "all". diff --git a/plugins/outputs/influxdb/influxdb.go b/plugins/outputs/influxdb/influxdb.go index 4306f55c6..1c4af5bca 100644 --- a/plugins/outputs/influxdb/influxdb.go +++ b/plugins/outputs/influxdb/influxdb.go @@ -79,7 +79,7 @@ var sampleConfig = ` ## tag is not set the 'database' option is used as the default. # database_tag = "" - ## If true, the database tag will not be added to the metric. + ## If true, the 'database_tag' will not be included in the written metric. # exclude_database_tag = false ## If true, no CREATE DATABASE queries will be sent. Set to true when using @@ -95,7 +95,7 @@ var sampleConfig = ` ## tag is not set the 'retention_policy' option is used as the default. # retention_policy_tag = "" - ## If true, the 'retention_policy_tag' will not be removed from the metric. + ## If true, the 'retention_policy_tag' will not be included in the written metric. # exclude_retention_policy_tag = false ## Write consistency (clusters only), can be: "any", "one", "quorum", "all".