Skip to content

Prometheus scaler loose metrics after scaling #5611

Discussion options

You must be logged in to vote

I was able to find the issue. The issue was in the Prometheus query I have used for the second metric "avg_response_time_keda", it wasn't aggregated. So after scaling, query was returning multiple separate values for each replica. Keda failed to handle this and failed. The issue was solved after adding an averaging operator to the query.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zroubalik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant