Skip to content

Commit

Permalink
Add documentation for TxPool metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
acerone85 committed Oct 15, 2024
1 parent e3f201d commit 9cee869
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/metrics/src/txpool_metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ use std::sync::OnceLock;
pub struct TxPoolMetrics {
/// Size of transactions in the txpool in bytes
pub tx_size: Histogram,
/// Number of transactions in the txpool
pub number_of_transactions: Gauge,
/// Number of transactions pending verification, before being inserted in the txpool
pub number_of_transactions_pending_verification: Gauge,
/// Number of transactions that can be included in the next block
pub number_of_executable_transactions: Gauge,
/// Time of transactions in the txpool in seconds
pub transaction_time_in_txpool_secs: Histogram,
Expand Down

0 comments on commit 9cee869

Please sign in to comment.