-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Meter tx manager poll duration #6688
Conversation
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.
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.
some doc nits. also, is acc
accumulated time spent? if so, should be in the docs, too
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 think this makes sense as a Gauge
, not sure that we really need the histogram bucketing. I just have one comment about macro placement, otherwise this looks good to me
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
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.
we need to be explicit here since there is no hint in prometheus on what the unit is, so we have to be super clear when communicating it to the user. the docs on each individual metric is served to the user directly
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.
looks good to me! one question about duration
Closes paradigmxyz/reth/ issues/ 6686.Closes #6737.Adds
Gauge
s forTransactionsManager
future and its nested streams, to measure the accumulated time spent in the future on a whole and in each nested stream.