Skip to content
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

Consider recording transaction delay sources to the transaction execution metadata #11284

Open
nagisa opened this issue May 10, 2024 · 0 comments

Comments

@nagisa
Copy link
Collaborator

nagisa commented May 10, 2024

Today each transaction we execute contains some protocol-agnostic profile metadata field that describes reasons for which the gas was burnt during the processing of the transaction.

This seems like a perfect place to also record the instances where the transaction has been delayed from executing: whether the transaction has been waiting to be included into a block, placed in the delayed receipt queue, waiting for yield/resume, or whatever other reason. It could be measured in numbers of blocks or somesuch, making the measure deterministic across validators.

Once we track this information, we'd also be able to make a prometheus metric out of this.

Does this idea make any sense? cc @bowenwang1996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant