diff --git a/plugins/outputs/cloudwatch/README.md b/plugins/outputs/cloudwatch/README.md index d585255c8..418fe86ff 100644 --- a/plugins/outputs/cloudwatch/README.md +++ b/plugins/outputs/cloudwatch/README.md @@ -47,5 +47,5 @@ also save AWS API cost. If enable this flag, this plugin would parse the require aggregator to calculate those fields. If not all statistic fields are available, all fields would still be sent as raw metrics. -## high_resolution_metrics +### high_resolution_metrics Enable high resolution metrics (1 second precision) instead of standard ones (60 seconds precision) \ No newline at end of file diff --git a/plugins/outputs/cloudwatch/cloudwatch.go b/plugins/outputs/cloudwatch/cloudwatch.go index 625a9c265..1ae8bd4f8 100644 --- a/plugins/outputs/cloudwatch/cloudwatch.go +++ b/plugins/outputs/cloudwatch/cloudwatch.go @@ -192,8 +192,8 @@ var sampleConfig = ` ## fields are available, all fields would still be sent as raw metrics. # write_statistics = false - ## Enable high resolution metrics of 1 second (standard resolution metrics are 60 seconds) - ## high_resolution_metrics = false + ## Enable high resolution metrics of 1 second (if not enabled, standard resolution are of 60 seconds precision) + # high_resolution_metrics = false ` func (c *CloudWatch) SampleConfig() string {