-
Notifications
You must be signed in to change notification settings - Fork 957
cumulus/metrics: Measure the time of including a tx in a backed block #8902
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
/cmd prdoc --audience node_dev,node_operator --bump patch |
Signed-off-by: Alexandru Vasile <[email protected]>
Signed-off-by: Alexandru Vasile <[email protected]>
/cmd prdoc --audience node_dev --bump patch |
…e_dev --bump patch'
All GitHub workflows were cancelled due to failure one of the required jobs. |
Signed-off-by: Alexandru Vasile <[email protected]>
Getting it in a backed block is half way, and it is useful. Can we also add a metric to measure the transaction time to finality? This is for example what Mythical is measuring as latency. |
The tx time to transition into different states (including finality) should be solved by: |
This PR introduces a metric in Cumulus to measure the time it took a transaction received on the RPC layer to be included a backed block.
TransactionMonitorHandle
is exposed from the transaction RPC V2 API to listen on monitoring events emitted by substratespawn_tasks
now returns the additionalTransactionMonitorHandle
parachain_transaction_backed_duration
Testing Done
small_network.toml
as base)Closes #8383
cc @paritytech/sdk-node