forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
congestion: add metrics for prepare_tx (near#11390)
- Count how many transactions are rejected due to congestion and hence dropped from the pool. Store it as a histogram for detailed insights. - Keep track of the gas limit for ty conversions, as a simple gauge since this should be a relatively stable value. - Keep track of how much gas is actually used for tx conversions, in a histogram. --------- Co-authored-by: Jan Ciolek <149345204+jancionear@users.noreply.github.com>
- Loading branch information
1 parent
1c3d761
commit 66031e2
Showing
2 changed files
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters