Support StatisticValues in cloudwatch output plugin (#4364)
This commit is contained in:
@@ -36,3 +36,13 @@ Examples include but are not limited to:
|
||||
### namespace
|
||||
|
||||
The namespace used for AWS CloudWatch metrics.
|
||||
|
||||
### write_statistics
|
||||
|
||||
If you have a large amount of metrics, you should consider to send statistic
|
||||
values instead of raw metrics which could not only improve performance but
|
||||
also save AWS API cost. If enable this flag, this plugin would parse the required
|
||||
[CloudWatch statistic fields](https://docs.aws.amazon.com/sdk-for-go/api/service/cloudwatch/#StatisticSet)
|
||||
(count, min, max, and sum) and send them to CloudWatch. You could use `basicstats`
|
||||
aggregator to calculate those fields. If not all statistic fields are available,
|
||||
all fields would still be sent as raw metrics.
|
||||
Reference in New Issue
Block a user