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
Prometheus client: fix lock copy + add traces #3664
Conversation
jotak
commented
Feb 2, 2021
- Do not copy prom's default round tripper as it contains a lock
- Add trace-level logs on prom queries
Relates to #3660 |
side note: the lock copy issue was visible in lint reports. We should make them more visible. |
@lucasponce @jshaughn despite it does not fix #3660 I think it's still important to merge |
- Do not copy prom's default round tripper as it contains a lock - Add trace-level logs on prom queries
(+ 1 test added as part of investigations) |
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.
@jotak good find/change.
Please @jotak let's also backport the potential fixes for performance to the v1.29.x branch which will target Istio 1.9 |
- Do not copy prom's default round tripper as it contains a lock - Add trace-level logs on prom queries