Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cloudwatch output README.md and improve example config description #6707

Merged
merged 1 commit into from
Nov 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/outputs/cloudwatch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions plugins/outputs/cloudwatch/cloudwatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down