From bae7f59bbf5647707730063215f933f026750d11 Mon Sep 17 00:00:00 2001 From: Alberto del Barrio Date: Fri, 3 May 2019 19:05:06 +0200 Subject: [PATCH] Fix syntax error in cloudwatch sample config (#5797) --- plugins/inputs/cloudwatch/README.md | 4 ++-- plugins/inputs/cloudwatch/cloudwatch.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/inputs/cloudwatch/README.md b/plugins/inputs/cloudwatch/README.md index bd9feaade..369eadbc1 100644 --- a/plugins/inputs/cloudwatch/README.md +++ b/plugins/inputs/cloudwatch/README.md @@ -72,7 +72,7 @@ API endpoint. In the following order the plugin will attempt to authenticate. ## Namespace-wide statistic filters. These allow fewer queries to be made to ## cloudwatch. - # statistic_include = [ "average", "sum", minimum", "maximum", sample_count" ] + # statistic_include = [ "average", "sum", "minimum", "maximum", sample_count" ] # statistic_exclude = [] ## Metrics to Pull @@ -83,7 +83,7 @@ API endpoint. In the following order the plugin will attempt to authenticate. # # ## Statistic filters for Metric. These allow for retrieving specific # ## statistics for an individual metric. - # # statistic_include = [ "average", "sum", minimum", "maximum", sample_count" ] + # # statistic_include = [ "average", "sum", "minimum", "maximum", sample_count" ] # # statistic_exclude = [] # # ## Dimension filters for Metric. All dimensions defined for the metric names diff --git a/plugins/inputs/cloudwatch/cloudwatch.go b/plugins/inputs/cloudwatch/cloudwatch.go index 4b6469e2d..7aad67f5b 100644 --- a/plugins/inputs/cloudwatch/cloudwatch.go +++ b/plugins/inputs/cloudwatch/cloudwatch.go @@ -135,7 +135,7 @@ func (c *CloudWatch) SampleConfig() string { ## Namespace-wide statistic filters. These allow fewer queries to be made to ## cloudwatch. - # statistic_include = [ "average", "sum", minimum", "maximum", sample_count" ] + # statistic_include = [ "average", "sum", "minimum", "maximum", sample_count" ] # statistic_exclude = [] ## Metrics to Pull @@ -146,7 +146,7 @@ func (c *CloudWatch) SampleConfig() string { # # ## Statistic filters for Metric. These allow for retrieving specific # ## statistics for an individual metric. - # # statistic_include = [ "average", "sum", minimum", "maximum", sample_count" ] + # # statistic_include = [ "average", "sum", "minimum", "maximum", sample_count" ] # # statistic_exclude = [] # # ## Dimension filters for Metric. All dimensions defined for the metric names