Struct ckb_metrics::Metrics
source · pub struct Metrics {Show 14 fields
pub ckb_chain_tip: IntGauge,
pub ckb_freezer_size: IntGauge,
pub ckb_freezer_read: IntCounter,
pub ckb_relay_transaction_short_id_collide: IntCounter,
pub ckb_relay_cb_transaction_count: IntCounter,
pub ckb_relay_cb_reconstruct_ok: IntCounter,
pub ckb_relay_cb_fresh_tx_cnt: IntCounter,
pub ckb_relay_cb_reconstruct_fail: IntCounter,
pub ckb_shared_best_number: IntGauge,
pub ckb_sys_mem_process: CkbSysMemProcessStatistics,
pub ckb_sys_mem_jemalloc: CkbSysMemJemallocStatistics,
pub ckb_message_bytes: HistogramVec,
pub ckb_sys_mem_rocksdb: IntGaugeVec,
pub ckb_network_ban_peer: IntCounter,
}Fields§
§ckb_chain_tip: IntGaugeGauge metric for CKB chain tip header number
ckb_freezer_size: IntGaugeGauge for tracking the size of all frozen data
ckb_freezer_read: IntCounterCounter for measuring the effective amount of data read
ckb_relay_transaction_short_id_collide: IntCounterCounter for relay transaction short id collide
ckb_relay_cb_transaction_count: IntCounterCounter for relay compact block transaction count
ckb_relay_cb_reconstruct_ok: IntCounterCounter for relay compact block reconstruct ok
ckb_relay_cb_fresh_tx_cnt: IntCounterCounter for relay compact block fresh transaction count
ckb_relay_cb_reconstruct_fail: IntCounterCounter for relay compact block reconstruct fail
ckb_sys_mem_process: CkbSysMemProcessStatistics§ckb_sys_mem_jemalloc: CkbSysMemJemallocStatistics§ckb_message_bytes: HistogramVecHistogram for CKB network connections
ckb_sys_mem_rocksdb: IntGaugeVecGauge for CKB rocksdb statistics
ckb_network_ban_peer: IntCounterCounter for CKB network ban peers
Auto Trait Implementations§
impl !RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl !UnwindSafe for Metrics
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