-
Notifications
You must be signed in to change notification settings - Fork 31
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
feat: change wasm metrics method #358
feat: change wasm metrics method #358
Conversation
telemetry has performance degradation issue.
Codecov Report
@@ Coverage Diff @@
## main #358 +/- ##
=======================================
Coverage ? 53.09%
=======================================
Files ? 643
Lines ? 67383
Branches ? 0
=======================================
Hits ? 35778
Misses ? 28659
Partials ? 2946 |
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
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
This looks not a refactor and looks like a changing feature. Isn't it? (this is tagged refactor in the title) |
right, changed |
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! Fill the checkboxes in the description next time 🙇
Description
closes: #357
The metrics method for observing the wasm was the telemetry.
However, telemetry had performance degradation issues.
Change the method to use prometheus directly. In testing, this did not cause any performance degradation.
In addition to telemetry, wasm already had prometheus metrics for observing the cache of the VM internal implementation.
However, the observation method between our need and exist cache metrics is different .
Existing cache metrics are periodic observation by subscription of prometheus collector,
What we want is to happen at a point in time that run.
So add a new structure without refactoring the existing cache metrics.
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes