Skip to main content

BitcoinMetrics

Struct BitcoinMetrics 

Source
pub struct BitcoinMetrics {
Show 74 fields pub registry: Registry, pub blocks: Gauge, pub headers: Gauge, pub difficulty: Gauge, pub verification_progress: Gauge, pub size_on_disk: Gauge, pub initial_block_download: Gauge, pub chain_pruned: Gauge, pub mempool_transactions: Gauge, pub mempool_bytes: Gauge, pub mempool_usage: Gauge, pub mempool_max_bytes: Gauge, pub mempool_min_fee: Gauge, pub mempool_total_fee: Gauge, pub mempool_min_relay_tx_fee: Gauge, pub mempool_incremental_relay_fee: Gauge, pub mempool_unbroadcast_count: Gauge, pub mempool_full_rbf: Gauge, pub connections: Gauge, pub connections_in: Gauge, pub connections_out: Gauge, pub network_active: Gauge, pub node_version: Gauge, pub protocol_version: Gauge, pub time_offset: Gauge, pub relay_fee: Gauge, pub incremental_fee: Gauge, pub peer_count: Gauge, pub peers_inbound: Gauge, pub peers_outbound: Gauge, pub peers_total_bytes_sent: Gauge, pub peers_total_bytes_received: Gauge, pub peers_avg_ping_seconds: Gauge, pub network_hash_ps: Gauge, pub mining_pooled_tx: Gauge, pub chain_tx_count: Gauge, pub chain_tx_rate: Gauge, pub chain_tx_window_block_count: Gauge, pub chain_tx_window_tx_count: Gauge, pub chain_tx_window_interval: Gauge, pub net_total_bytes_received: Gauge, pub net_total_bytes_sent: Gauge, pub fee_estimate_2_blocks: Gauge, pub fee_estimate_6_blocks: Gauge, pub fee_estimate_12_blocks: Gauge, pub fee_estimate_144_blocks: Gauge, pub chain_tips_count: Gauge, pub node_uptime_seconds: Gauge, pub latest_block_txs: Gauge, pub latest_block_size: Gauge, pub latest_block_weight: Gauge, pub latest_block_avg_fee: Gauge, pub latest_block_avg_fee_rate: Gauge, pub latest_block_median_fee: Gauge, pub latest_block_min_fee: Gauge, pub latest_block_max_fee: Gauge, pub latest_block_min_fee_rate: Gauge, pub latest_block_max_fee_rate: Gauge, pub latest_block_total_fee: Gauge, pub latest_block_subsidy: Gauge, pub latest_block_inputs: Gauge, pub latest_block_outputs: Gauge, pub latest_block_segwit_txs: Gauge, pub latest_block_segwit_total_size: Gauge, pub latest_block_segwit_total_weight: Gauge, pub latest_block_total_out: Gauge, pub latest_block_utxo_increase: Gauge, pub latest_block_fee_rate_10th: Gauge, pub latest_block_fee_rate_25th: Gauge, pub latest_block_fee_rate_50th: Gauge, pub latest_block_fee_rate_75th: Gauge, pub latest_block_fee_rate_90th: Gauge, pub scrape_duration_seconds: Gauge, pub scrape_error: Gauge,
}

Fields§

§registry: Registry§blocks: Gauge§headers: Gauge§difficulty: Gauge§verification_progress: Gauge§size_on_disk: Gauge§initial_block_download: Gauge§chain_pruned: Gauge§mempool_transactions: Gauge§mempool_bytes: Gauge§mempool_usage: Gauge§mempool_max_bytes: Gauge§mempool_min_fee: Gauge§mempool_total_fee: Gauge§mempool_min_relay_tx_fee: Gauge§mempool_incremental_relay_fee: Gauge§mempool_unbroadcast_count: Gauge§mempool_full_rbf: Gauge§connections: Gauge§connections_in: Gauge§connections_out: Gauge§network_active: Gauge§node_version: Gauge§protocol_version: Gauge§time_offset: Gauge§relay_fee: Gauge§incremental_fee: Gauge§peer_count: Gauge§peers_inbound: Gauge§peers_outbound: Gauge§peers_total_bytes_sent: Gauge§peers_total_bytes_received: Gauge§peers_avg_ping_seconds: Gauge§network_hash_ps: Gauge§mining_pooled_tx: Gauge§chain_tx_count: Gauge§chain_tx_rate: Gauge§chain_tx_window_block_count: Gauge§chain_tx_window_tx_count: Gauge§chain_tx_window_interval: Gauge§net_total_bytes_received: Gauge§net_total_bytes_sent: Gauge§fee_estimate_2_blocks: Gauge§fee_estimate_6_blocks: Gauge§fee_estimate_12_blocks: Gauge§fee_estimate_144_blocks: Gauge§chain_tips_count: Gauge§node_uptime_seconds: Gauge§latest_block_txs: Gauge§latest_block_size: Gauge§latest_block_weight: Gauge§latest_block_avg_fee: Gauge§latest_block_avg_fee_rate: Gauge§latest_block_median_fee: Gauge§latest_block_min_fee: Gauge§latest_block_max_fee: Gauge§latest_block_min_fee_rate: Gauge§latest_block_max_fee_rate: Gauge§latest_block_total_fee: Gauge§latest_block_subsidy: Gauge§latest_block_inputs: Gauge§latest_block_outputs: Gauge§latest_block_segwit_txs: Gauge§latest_block_segwit_total_size: Gauge§latest_block_segwit_total_weight: Gauge§latest_block_total_out: Gauge§latest_block_utxo_increase: Gauge§latest_block_fee_rate_10th: Gauge§latest_block_fee_rate_25th: Gauge§latest_block_fee_rate_50th: Gauge§latest_block_fee_rate_75th: Gauge§latest_block_fee_rate_90th: Gauge§scrape_duration_seconds: Gauge§scrape_error: Gauge

Implementations§

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more