pub struct TxPoolMetrics {
pub tx_size: Histogram,
pub number_of_transactions: Gauge,
pub number_of_transactions_pending_verification: Gauge,
pub number_of_executable_transactions: Gauge,
pub transaction_time_in_txpool_secs: Histogram,
pub transaction_insertion_time_in_thread_pool_microseconds: Histogram,
pub select_transactions_time_microseconds: Histogram,
}
Fields§
§tx_size: Histogram
Size of transactions in the txpool in bytes
number_of_transactions: Gauge
Number of transactions in the txpool
number_of_transactions_pending_verification: Gauge
Number of transactions pending verification, before being inserted in the txpool
number_of_executable_transactions: Gauge
Number of transactions that can be included in the next block
transaction_time_in_txpool_secs: Histogram
Time of transactions in the txpool in seconds
transaction_insertion_time_in_thread_pool_microseconds: Histogram
Time actively spent by transaction insertion in the thread pool
select_transactions_time_microseconds: Histogram
How long it took for the selection algorithm to select transactions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TxPoolMetrics
impl !RefUnwindSafe for TxPoolMetrics
impl Send for TxPoolMetrics
impl Sync for TxPoolMetrics
impl Unpin for TxPoolMetrics
impl !UnwindSafe for TxPoolMetrics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more