-
Notifications
You must be signed in to change notification settings - Fork 185
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
fix(metrics): separate a avm call time & interpretation time metrics #1893
Conversation
NET-626 Use `execution_time` from AVMOutcome
Report it as a separate metric Compare against old Interpretation Time metric |
let call_time_sec = Histogram::new(execution_time_buckets()); | ||
sub_registry.register( | ||
"avm_call_time_sec", | ||
"Distribution of time it took to run the avm call once", |
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.
I don't see much difference between "time it took to run the interpreter once" and "time it took to run the avm call once". Can you write clearer ones?
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.
avm call time is an interpratation time + saving data on disk
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.
cool, would be nice to reflect it in the metrics descriptions, wdyt?
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.
Done
…1893) * fix(metrics): separate a avm call time & interperation time metrics * fix comment * fix comment * improve fmt * improve desc * add retries
Description
Separate an AVM call time & interpretation time metrics.
Motivation
For now, the interpretation time metric shows as the interpretation time + disk IO time. We want to expose information without IO to clearly understand the AVM behavior.
Proposed Changes
interpretation_time becomes time from AVM metrics and shows only interpretation.
call_time is a previous interpretation_time.
Checklist
Reviewer Checklist