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: IntGauge

Gauge metric for CKB chain tip header number

§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_relay_transaction_short_id_collide: IntCounter

Counter for relay transaction short id collide

§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_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

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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 Twhere U: Into<T>,

§

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 Twhere U: TryFrom<T>,

§

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.