-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add scaler metric latency support #4040
Conversation
2abbdc5
to
3b741a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement!
Could you extend the metrics e2e test with these new metrics?
Update also the changelog please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, please update changelog and add e2e tests as Jorge mentioned. Also please open a documentation PR with the new metrics.
And in the future, please don't delete the PR description template, as we use it to track items to be completed (the ones that we asked you about - docs, tests, changelog...).
Can you also please update our documentation please and share an example of the outputted Prometheus metrics? |
Add scaler metric latency support Signed-off-by: kevin <tengkang@msn.com>
Add e2e test Signed-off-by: kevin <tengkang@msn.com>
Add changelog & fix static checks Signed-off-by: kevin <tengkang@msn.com>
Added e2e test and updated CHANGELOG, will update doc as well |
Fix scaled_object_errors Signed-off-by: kevin <tengkang@msn.com>
move the logic for measuring latency inside cache.GetMetricsForScaler() Signed-off-by: kevin <tengkang@msn.com>
Doc updated, kedacore/keda-docs#1034 |
/run-e2e prometheus_metrics* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great improvement!
Signed-off-by: kevin <tengkang@msn.com>
Add scaler metric latency support
Checklist
[ ] When introducing a new scaler, I agree with the scaling governance policy[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)Relates to #4037
Relates to #4116