Clarification on how CloudWatch KEDA scaler calculates current metric value. #6615
-
I am exploring CloudWatch KEDA scaler and have a query around how CloudWatch KEDA scaler calculates current metric value. If I set 'metricStatPeriod' to '300' (5 mins) and set 'metricCollectionTime' / 'metricEndTimeOffset' such that it denotes a 10 min interval, when the CloudWatch scaler queries CloudWatch it is going to get an array with two values, one for each 5 min period. In this case how will the scaler determine the current metric value. Will it consider only one of the two values it got from CloudWatch ? Could someone clarify on this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The scaler uses |
Beta Was this translation helpful? Give feedback.
The scaler uses
metricStat
to specify how to aggregate multiple points.See also
metricStat
in the parameter list on keda.sh