Skip to content

feat(metrics): capture gas metrics from ApplyBlocks, tweak time buckets#13030

Merged
rvagg merged 1 commit intomasterfrom
rvagg/apply-blocks-metrics
Apr 11, 2025
Merged

feat(metrics): capture gas metrics from ApplyBlocks, tweak time buckets#13030
rvagg merged 1 commit intomasterfrom
rvagg/apply-blocks-metrics

Conversation

@rvagg
Copy link
Copy Markdown
Member

@rvagg rvagg commented Apr 11, 2025

I want to capture some gas values from message execution, but I'm also concerned about the quantisation of our timing metrics, particularly in the 1s - 2s range, I think it leads to weird graphs where our "total" ApplyBlocks time snaps to 1.99s and then bounces between some lower quantisation levels, when it should be the sum of the other 3 metrics collected within ApplyBlocks (early, messages and cron), but the sum of those 3 is never close to total.

I have this running at the moment and will report back with a new screenshot also with gas when I've collected enough.

Screenshot 2025-04-11 at 1 45 20 pm

@rvagg rvagg requested a review from masih April 11, 2025 03:47
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FilOz Apr 11, 2025
@rvagg rvagg added the skip/changelog This change does not require CHANGELOG.md update label Apr 11, 2025
@rvagg rvagg force-pushed the rvagg/apply-blocks-metrics branch from ff71a2c to 87c30d5 Compare April 11, 2025 04:10
@rvagg rvagg removed the skip/changelog This change does not require CHANGELOG.md update label Apr 11, 2025
@github-project-automation github-project-automation Bot moved this from 📌 Triage to ✔️ Approved by reviewer in FilOz Apr 11, 2025
@rvagg rvagg merged commit 790c61b into master Apr 11, 2025
92 checks passed
@rvagg rvagg deleted the rvagg/apply-blocks-metrics branch April 11, 2025 11:33
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Apr 11, 2025
@rvagg
Copy link
Copy Markdown
Member Author

rvagg commented Apr 11, 2025

Nicer with the new bucketing:

Screenshot 2025-04-11 at 9 46 45 pm

And now we can compare with gas!

Screenshot 2025-04-11 at 9 47 14 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants