ckb_metrics

Struct Metrics

Source
pub struct Metrics {
Show 39 fields pub ckb_chain_tip: IntGauge, pub ckb_chain_unverified_tip: IntGauge, pub ckb_chain_async_process_block_duration: Histogram, pub ckb_chain_process_lonely_block_duration: Histogram, pub ckb_chain_consume_unverified_block_duration: Histogram, pub ckb_chain_consume_unverified_block_waiting_block_duration: Histogram, pub ckb_chain_execute_callback_duration: Histogram, pub ckb_chain_orphan_count: IntGauge, pub ckb_chain_lonely_block_ch_len: IntGauge, pub ckb_chain_unverified_block_ch_len: IntGauge, pub ckb_chain_preload_unverified_block_ch_len: IntGauge, pub ckb_chain_load_full_unverified_block: Histogram, pub ckb_sync_msg_process_duration: HistogramVec, pub ckb_sync_block_fetch_duration: Histogram, pub ckb_header_map_limit_memory_duration: Histogram, pub ckb_header_map_ops_duration: HistogramVec, pub ckb_header_map_memory_count: IntGauge, pub ckb_header_map_memory_hit_miss_count: CkbHeaderMapMemoryHitMissStatistics, pub ckb_freezer_size: IntGauge, pub ckb_freezer_read: IntCounter, pub ckb_freezer_number: IntGauge, pub ckb_relay_transaction_short_id_collide: IntCounter, pub ckb_relay_cb_verify_duration: Histogram, pub ckb_block_process_duration: Histogram, pub ckb_tx_pool_sync_process: Histogram, pub ckb_tx_pool_async_process: Histogram, 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_tx_pool_entry: CkbTxPoolEntryStatistics, pub ckb_message_bytes: HistogramVec, pub ckb_sys_mem_rocksdb: IntGaugeVec, pub ckb_network_ban_peer: IntCounter, pub ckb_inflight_blocks_count: IntGauge, pub ckb_inflight_timeout_count: IntCounter,
}

Fields§

§ckb_chain_tip: IntGauge

Gauge metric for CKB chain tip header number

§ckb_chain_unverified_tip: IntGauge

CKB chain unverified tip header number

§ckb_chain_async_process_block_duration: Histogram

ckb_chain asynchronous_process duration (seconds)

§ckb_chain_process_lonely_block_duration: Histogram

ckb_chain consume_orphan thread’s process_lonely_block duration (seconds)

§ckb_chain_consume_unverified_block_duration: Histogram

ckb_chain consume_unverified thread’s consume_unverified_block duration (seconds)

§ckb_chain_consume_unverified_block_waiting_block_duration: Histogram

ckb_chain consume_unverified thread’s consume_unverified_block waiting for block duration (seconds)

§ckb_chain_execute_callback_duration: Histogram

ckb_chain execute_callback duration (seconds)

§ckb_chain_orphan_count: IntGauge

ckb_chain orphan blocks count

§ckb_chain_lonely_block_ch_len: IntGauge§ckb_chain_unverified_block_ch_len: IntGauge§ckb_chain_preload_unverified_block_ch_len: IntGauge§ckb_chain_load_full_unverified_block: Histogram§ckb_sync_msg_process_duration: HistogramVec

ckb_sync_msg_process duration (seconds)

§ckb_sync_block_fetch_duration: Histogram

ckb_sync_block_fetch duraiton (seconds)

§ckb_header_map_limit_memory_duration: Histogram§ckb_header_map_ops_duration: HistogramVec§ckb_header_map_memory_count: IntGauge§ckb_header_map_memory_hit_miss_count: CkbHeaderMapMemoryHitMissStatistics§ckb_freezer_size: IntGauge

Gauge for tracking the size of all frozen data

§ckb_freezer_read: IntCounter

Counter for measuring the effective amount of data read

§ckb_freezer_number: IntGauge

Gauge for tracking the number of ckb_freezer

§ckb_relay_transaction_short_id_collide: IntCounter

Counter for relay transaction short id collide

§ckb_relay_cb_verify_duration: Histogram

Histogram for relay compact block verify duration

§ckb_block_process_duration: Histogram

Histogram for block process duration

§ckb_tx_pool_sync_process: Histogram

Histogram for sync process tx in txpool

§ckb_tx_pool_async_process: Histogram

Histogram for async process tx in txpool

§ckb_relay_cb_transaction_count: IntCounter

Counter for relay compact block transaction count

§ckb_relay_cb_reconstruct_ok: IntCounter

Counter for relay compact block reconstruct ok

§ckb_relay_cb_fresh_tx_cnt: IntCounter

Counter for relay compact block fresh transaction count

§ckb_relay_cb_reconstruct_fail: IntCounter

Counter for relay compact block reconstruct fail

§ckb_shared_best_number: IntGauge§ckb_sys_mem_process: CkbSysMemProcessStatistics§ckb_sys_mem_jemalloc: CkbSysMemJemallocStatistics§ckb_tx_pool_entry: CkbTxPoolEntryStatistics§ckb_message_bytes: HistogramVec

Histogram for CKB network connections

§ckb_sys_mem_rocksdb: IntGaugeVec

Gauge for CKB rocksdb statistics

§ckb_network_ban_peer: IntCounter

Counter for CKB network ban peers

§ckb_inflight_blocks_count: IntGauge§ckb_inflight_timeout_count: IntCounter

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.