Average of metric value over a time window #993
Unanswered
prasad-pillala-by
asked this question in
General
Replies: 1 comment 4 replies
-
Looks like you are looking for
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
My requirement is to autoscale based on a average of kafka lag for last 10 minutes. For example, if the average of incoming kafka messages stays above 1000 for last 10 minutes, then I want to add more pods using HPA.
Means, I want to avoid acting on a sudden spike of 2000 messages 1 time, which can be handled in 5 minutes by current pod. If in-flow continues for 10 minutes and the average is more than 1000; then I want to add more pods to handle the load.
Can you please help me on how to achieve this?
Thanks,
Prasad
Beta Was this translation helpful? Give feedback.
All reactions