-
Notifications
You must be signed in to change notification settings - Fork 965
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
stats: fix crash on invalid json #3658
Conversation
Hi @timonwong. Thanks for your PR. I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
d6cfde4
to
6be6f5b
Compare
Signed-off-by: Tianpeng Wang <tpwang@alauda.io>
6be6f5b
to
4bd78d7
Compare
/retest |
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.
LG.
What's the crash btw? We should probably make it not crash as well.
@kyessenov The crash occurred when reporting metrics, when stats plugin is improperly configured, member The crash log looks like:
|
Signed-off-by: Tianpeng Wang tpwang@alauda.io
What this PR does / why we need it:
When the stats plugin starts with wrong JSON config (ill-formatted for example), it will crash on any request (healthcheck for example) which makes pod crash repeatedly (or fail to start if healthcheck configured).