-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fatxpool: metrics for unfiltered timings of inblock events #10312
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
fatxpool: metrics for unfiltered timings of inblock events #10312
Conversation
|
/cmd prdoc --bump minor --audience node_dev |
…-audience node_dev'
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
| )?, | ||
| registry, | ||
| )?, | ||
| in_block2: register( |
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.
Can we pls not call it in_block2? :D
WDYT about in_block_duplicates or in_block_nonexclusive. Also shitty, but at least ives an idea.
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.
in_block2 was a good name :)
changed to in_block_forks in aa6806c
This PR adds a new experimental metric `substrate_sub_txpool_timing_event_in_block2` for the reliability dashboard. Unlike the existing `in_block` metric which records timing only for the first `InBlock` event per transaction, the new `in_block2` metric records every InBlock event without filtering. This allows tracking transactions that appear in multiple blocks during chain reorganizations, providing better visibility into fork-related transaction behavior. The implementation adds the new histogram to `EventsHistograms` and updates `handle_status()` to record unfiltered InBlock events before applying deduplication logic. This approach should allow for experimenting with new _inblock confidence_ metric, without affecting the data currently shown on the Reliability Dashboard. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> (cherry picked from commit acd0306)
|
Successfully created backport PR for |
Backport #10312 into `stable2512` from michalkucharczyk. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Michal Kucharczyk <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This PR adds a new experimental metric
substrate_sub_txpool_timing_event_in_block2for the reliability dashboard. Unlike the existingin_blockmetric which records timing only for the firstInBlockevent per transaction, the newin_block2metric records every InBlock event without filtering. This allows tracking transactions that appear in multiple blocks during chain reorganizations, providing better visibility into fork-related transaction behavior. The implementation adds the new histogram toEventsHistogramsand updateshandle_status()to record unfiltered InBlock events before applying deduplication logic.This approach should allow for experimenting with new inblock confidence metric, without affecting the data currently shown on the Reliability Dashboard.