-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[ZK filter] Add per-opcode decoder error metrics #31138
[ZK filter] Add per-opcode decoder error metrics #31138
Conversation
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Signed-off-by: Zhewei Hu <zhu@pinterest.com>
Signed-off-by: Zhewei Hu <zhu@pinterest.com>
a1646ee
to
d99739f
Compare
Hi @JuniorHsu, please review this PR whenever you have a chance, thank you! |
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 api
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, thanks!
…31245) This is the prerequisite of reverting #30438 in order to fix the ZK proxy filter "Uncaught Exception" issue. Risk Level: Low Testing: Unit test Docs Changes: Revert doc changes in #31138 Release Notes: Revert release notes in #31138 Platform Specific Features: N/A Signed-off-by: Zhewei Hu <zhu@pinterest.com>
Commit Message: [ZK filter] Add per-opcode decoder error metrics
Additional Description: Currently, the ZK proxy filter only emits one decoder error metric, which include all decoder errors. This PR tries to emit per-opcode decoder error metrics, which is helpful for debugging. These metrics can be turned on or off via a proto field
enable_per_opcode_decoder_error_metrics
.Risk Level: Low
Testing: Unit test
Docs Changes: docs/root/configuration/listeners/network_filters/zookeeper_proxy_filter.rst
Release Notes: changelogs/current.yaml