-
Notifications
You must be signed in to change notification settings - Fork 326
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
Add a metric for filtered txs #2517
Comments
5 tasks
evan-forbes
added a commit
that referenced
this issue
Sep 19, 2023
## Overview This PR adds loggers back to the filter functions (but actually uses them this time), and logs when transaction get filtered during `PrepareProposal`. It also re-adds an obtuse gas limit to the transactions in the `TestPrepareProposalConsistency` test, where those errors were getting caught by the filter functions. part of #2517 ## Checklist - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [x] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords
mergify bot
pushed a commit
that referenced
this issue
Sep 19, 2023
## Overview This PR adds loggers back to the filter functions (but actually uses them this time), and logs when transaction get filtered during `PrepareProposal`. It also re-adds an obtuse gas limit to the transactions in the `TestPrepareProposalConsistency` test, where those errors were getting caught by the filter functions. part of #2517 ## Checklist - [x] New and updated code has appropriate documentation - [x] New and updated code has new and/or updated testing - [x] Required CI checks are passing - [x] Visual proof for any user facing features like CLI or documentation updates - [x] Linked issues closed with keywords (cherry picked from commit dd50ae7) # Conflicts: # app/test/fuzz_abci_test.go
cmwaters
added a commit
that referenced
this issue
Sep 21, 2023
Closes: #2517 This PR adds metrics to track: - The amount of times process proposal recovers from a panic - The amount of invalid transactions that get filtered in prepare proposal - The time it takes for prepare proposal and process proposal to execute
0xchainlover
pushed a commit
to celestia-org/celestia-app
that referenced
this issue
Aug 1, 2024
Closes: celestiaorg/celestia-app#2517 This PR adds metrics to track: - The amount of times process proposal recovers from a panic - The amount of invalid transactions that get filtered in prepare proposal - The time it takes for prepare proposal and process proposal to execute
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While there are currently known exceptions to this rule due to CheckTx not ordering blob txs before normal ones #1947, in general all transactions that make it through
CheckTx
should also be able to make it throughPrepareProposal
. Therefore we should keep track of when transactions get filtered inPrepareProposal
.As suggested by by @cmwaters, we should monitor the filtered txs via metrics and and logged errors. We already have access to the logger where txs are filtered in the app, but the application currently does not have access to metrics.
Perhap not an exaustive list, but to fix this we could:
Prepare/ProcessProposalResponse
sThe text was updated successfully, but these errors were encountered: