influxdata/telegraf

CloudWatch Metrics Input Plugin to Support Percentile Based Metrics

Open

#7951 aperta il 6 ago 2020

Vedi su GitHub
 (6 commenti) (1 reazione) (0 assegnatari)Go (4161 fork)batch import
area/awscloudfeature requesthelp wantedsize/m

Metriche repository

Star
 (9892 star)
Metriche merge PR
 (Merge medio 2g 12h) (136 PR mergiate in 30 g)

Descrizione

Feature Request

Opening a feature request kicks off a discussion.

Proposal:

The CloudWatch GetMetricData API call has the capability to use an Expression to allow for gathering pXX.XX (IE p95) statistics metrics.

Current behavior:

Based on this function, only 'minimum, maximum, sum, samplecount, average' are supported metric values. There is no extendedmetrics available which would be used by extended metrics.

Desired behavior:

Allow for pXX.XX to be valid metrics to be gathered by the CloudWatch input plugin.

Use case:

For statistical analysis, it is often better to throw out outliers of a dataset to keep from distracting from underlying trends. Using p95 allows for a higher confidence interval in what real "max" usage is, p5 similarly for "minimum" usage, and p50 for "average" usage. This allows for a statistics_input object to contain arbitrary pXX.XX values and return them from the GetMetricData API. This is suggested as an additional option, rather than complete replacement, to allow for users of this plugin to choose which statistic set they prefer.

Guida contributor