Struct avalanche_types::metrics::avalanchego::RawMetrics
source · [−]pub struct RawMetrics {Show 126 fields
pub ts: DateTime<Utc>,
pub avalanche_network_peers: Option<f64>,
pub avalanche_network_pull_query_sent: Option<f64>,
pub avalanche_network_push_query_sent: Option<f64>,
pub avalanche_network_msgs_failed_to_parse: Option<f64>,
pub avalanche_network_inbound_conn_throttler_allowed: Option<f64>,
pub avalanche_network_byte_throttler_inbound_awaiting_release: Option<f64>,
pub avalanche_network_throttler_outbound_acquire_failures: Option<f64>,
pub avalanche_network_throttler_outbound_awaiting_release: Option<f64>,
pub avalanche_requests_average_latency: Option<f64>,
pub avalanche_network_version_sent_bytes: Option<f64>,
pub avalanche_network_version_received_bytes: Option<f64>,
pub avalanche_network_peerlist_sent_bytes: Option<f64>,
pub avalanche_network_peerlist_received_bytes: Option<f64>,
pub avalanche_network_ping_sent_bytes: Option<f64>,
pub avalanche_network_ping_received_bytes: Option<f64>,
pub avalanche_network_pong_sent_bytes: Option<f64>,
pub avalanche_network_pong_received_bytes: Option<f64>,
pub avalanche_network_chits_sent_bytes: Option<f64>,
pub avalanche_network_chits_received_bytes: Option<f64>,
pub avalanche_network_get_sent_bytes: Option<f64>,
pub avalanche_network_get_received_bytes: Option<f64>,
pub avalanche_network_put_sent_bytes: Option<f64>,
pub avalanche_network_put_received_bytes: Option<f64>,
pub avalanche_network_pull_query_sent_bytes: Option<f64>,
pub avalanche_network_pull_query_received_bytes: Option<f64>,
pub avalanche_network_push_query_sent_bytes: Option<f64>,
pub avalanche_network_push_query_received_bytes: Option<f64>,
pub avalanche_network_get_accepted_frontier_sent_bytes: Option<f64>,
pub avalanche_network_get_accepted_frontier_received_bytes: Option<f64>,
pub avalanche_network_accepted_frontier_sent_bytes: Option<f64>,
pub avalanche_network_accepted_frontier_received_bytes: Option<f64>,
pub avalanche_network_get_accepted_sent_bytes: Option<f64>,
pub avalanche_network_get_accepted_received_bytes: Option<f64>,
pub avalanche_network_accepted_sent_bytes: Option<f64>,
pub avalanche_network_accepted_received_bytes: Option<f64>,
pub avalanche_network_get_ancestors_sent_bytes: Option<f64>,
pub avalanche_network_get_ancestors_received_bytes: Option<f64>,
pub avalanche_network_ancestors_sent_bytes: Option<f64>,
pub avalanche_network_ancestors_received_bytes: Option<f64>,
pub avalanche_network_app_gossip_sent_bytes: Option<f64>,
pub avalanche_network_app_gossip_received_bytes: Option<f64>,
pub avalanche_network_app_request_sent_bytes: Option<f64>,
pub avalanche_network_app_request_received_bytes: Option<f64>,
pub avalanche_network_app_response_sent_bytes: Option<f64>,
pub avalanche_network_app_response_received_bytes: Option<f64>,
pub avalanche_x_db_get_count: Option<f64>,
pub avalanche_x_db_write_size_sum: Option<f64>,
pub avalanche_x_db_read_size_sum: Option<f64>,
pub avalanche_x_vtx_processing: Option<f64>,
pub avalanche_x_txs_accepted_count: Option<f64>,
pub avalanche_x_txs_accepted_sum: Option<f64>,
pub avalanche_x_txs_rejected_count: Option<f64>,
pub avalanche_x_txs_rejected_sum: Option<f64>,
pub avalanche_x_txs_polls_accepted_count: Option<f64>,
pub avalanche_x_txs_polls_accepted_sum: Option<f64>,
pub avalanche_x_polls_successful: Option<f64>,
pub avalanche_x_polls_failed: Option<f64>,
pub avalanche_x_handler_chits_count: Option<f64>,
pub avalanche_x_handler_query_failed_count: Option<f64>,
pub avalanche_x_rogue_tx_issued: Option<f64>,
pub avalanche_x_virtuous_tx_issued: Option<f64>,
pub avalanche_x_whitelist_tx_accepted_count: Option<f64>,
pub avalanche_x_whitelist_tx_accepted_sum: Option<f64>,
pub avalanche_x_whitelist_tx_polls_accepted_count: Option<f64>,
pub avalanche_x_whitelist_tx_polls_accepted_sum: Option<f64>,
pub avalanche_x_whitelist_tx_polls_rejected_count: Option<f64>,
pub avalanche_x_whitelist_tx_polls_rejected_sum: Option<f64>,
pub avalanche_x_whitelist_tx_processing: Option<f64>,
pub avalanche_x_whitelist_tx_rejected_count: Option<f64>,
pub avalanche_x_whitelist_tx_rejected_sum: Option<f64>,
pub avalanche_x_whitelist_vtx_issue_failure: Option<f64>,
pub avalanche_x_whitelist_vtx_issue_success: Option<f64>,
pub avalanche_x_benchlist_benched_num: Option<f64>,
pub avalanche_p_vm_total_staked: Option<f64>,
pub avalanche_p_db_get_count: Option<f64>,
pub avalanche_p_db_write_size_sum: Option<f64>,
pub avalanche_p_db_read_size_sum: Option<f64>,
pub avalanche_p_blks_accepted_count: Option<f64>,
pub avalanche_p_blks_accepted_sum: Option<f64>,
pub avalanche_p_blks_rejected_count: Option<f64>,
pub avalanche_p_blks_rejected_sum: Option<f64>,
pub avalanche_p_blks_polls_accepted_count: Option<f64>,
pub avalanche_p_blks_polls_accepted_sum: Option<f64>,
pub avalanche_p_polls_successful: Option<f64>,
pub avalanche_p_polls_failed: Option<f64>,
pub avalanche_p_handler_chits_count: Option<f64>,
pub avalanche_p_handler_query_failed_count: Option<f64>,
pub avalanche_p_benchlist_benched_num: Option<f64>,
pub avalanche_c_db_get_count: Option<f64>,
pub avalanche_c_db_write_size_sum: Option<f64>,
pub avalanche_c_db_read_size_sum: Option<f64>,
pub avalanche_c_blks_processing: Option<f64>,
pub avalanche_c_blks_accepted_count: Option<f64>,
pub avalanche_c_blks_accepted_sum: Option<f64>,
pub avalanche_c_blks_rejected_count: Option<f64>,
pub avalanche_c_blks_rejected_sum: Option<f64>,
pub avalanche_c_blks_polls_accepted_count: Option<f64>,
pub avalanche_c_blks_polls_accepted_sum: Option<f64>,
pub avalanche_c_polls_successful: Option<f64>,
pub avalanche_c_polls_failed: Option<f64>,
pub avalanche_c_handler_chits_count: Option<f64>,
pub avalanche_c_handler_query_failed_count: Option<f64>,
pub avalanche_c_handler_get_accepted_frontier_sum: Option<f64>,
pub avalanche_c_handler_app_gossip_sum: Option<f64>,
pub avalanche_c_handler_app_request_sum: Option<f64>,
pub avalanche_c_handler_app_request_failed_sum: Option<f64>,
pub avalanche_c_handler_app_response_sum: Option<f64>,
pub avalanche_c_handler_accepted_frontier_sum: Option<f64>,
pub avalanche_c_handler_get_accepted_frontier_failed_sum: Option<f64>,
pub avalanche_c_handler_get_accepted_sum: Option<f64>,
pub avalanche_c_handler_accepted_sum: Option<f64>,
pub avalanche_c_handler_get_accepted_failed_sum: Option<f64>,
pub avalanche_c_handler_get_ancestors_sum: Option<f64>,
pub avalanche_c_handler_ancestors_sum: Option<f64>,
pub avalanche_c_handler_get_ancestors_failed_sum: Option<f64>,
pub avalanche_c_handler_get_sum: Option<f64>,
pub avalanche_c_handler_put_sum: Option<f64>,
pub avalanche_c_handler_get_failed_sum: Option<f64>,
pub avalanche_c_handler_push_query_sum: Option<f64>,
pub avalanche_c_handler_pull_query_sum: Option<f64>,
pub avalanche_c_handler_chits_sum: Option<f64>,
pub avalanche_c_handler_query_failed_sum: Option<f64>,
pub avalanche_c_handler_connected_sum: Option<f64>,
pub avalanche_c_handler_disconnected_sum: Option<f64>,
pub avalanche_c_benchlist_benched_num: Option<f64>,
}
Fields
ts: DateTime<Utc>
Represents the data format in RFC3339. ref. https://serde.rs/custom-date-format.html
avalanche_network_peers: Option<f64>
Network metrics.
avalanche_network_pull_query_sent: Option<f64>
avalanche_network_push_query_sent: Option<f64>
avalanche_network_msgs_failed_to_parse: Option<f64>
avalanche_network_inbound_conn_throttler_allowed: Option<f64>
avalanche_network_byte_throttler_inbound_awaiting_release: Option<f64>
avalanche_network_throttler_outbound_acquire_failures: Option<f64>
avalanche_network_throttler_outbound_awaiting_release: Option<f64>
avalanche_requests_average_latency: Option<f64>
avalanche_network_version_sent_bytes: Option<f64>
Handshake messages.
avalanche_network_version_received_bytes: Option<f64>
avalanche_network_peerlist_sent_bytes: Option<f64>
avalanche_network_peerlist_received_bytes: Option<f64>
avalanche_network_ping_sent_bytes: Option<f64>
avalanche_network_ping_received_bytes: Option<f64>
avalanche_network_pong_sent_bytes: Option<f64>
avalanche_network_pong_received_bytes: Option<f64>
avalanche_network_chits_sent_bytes: Option<f64>
Consensus messages.
avalanche_network_chits_received_bytes: Option<f64>
avalanche_network_get_sent_bytes: Option<f64>
avalanche_network_get_received_bytes: Option<f64>
avalanche_network_put_sent_bytes: Option<f64>
avalanche_network_put_received_bytes: Option<f64>
avalanche_network_pull_query_sent_bytes: Option<f64>
avalanche_network_pull_query_received_bytes: Option<f64>
avalanche_network_push_query_sent_bytes: Option<f64>
avalanche_network_push_query_received_bytes: Option<f64>
avalanche_network_get_accepted_frontier_sent_bytes: Option<f64>
Bootstrap messages.
avalanche_network_get_accepted_frontier_received_bytes: Option<f64>
avalanche_network_accepted_frontier_sent_bytes: Option<f64>
avalanche_network_accepted_frontier_received_bytes: Option<f64>
avalanche_network_get_accepted_sent_bytes: Option<f64>
avalanche_network_get_accepted_received_bytes: Option<f64>
avalanche_network_accepted_sent_bytes: Option<f64>
avalanche_network_accepted_received_bytes: Option<f64>
avalanche_network_get_ancestors_sent_bytes: Option<f64>
avalanche_network_get_ancestors_received_bytes: Option<f64>
avalanche_network_ancestors_sent_bytes: Option<f64>
avalanche_network_ancestors_received_bytes: Option<f64>
avalanche_network_app_gossip_sent_bytes: Option<f64>
App messages.
avalanche_network_app_gossip_received_bytes: Option<f64>
avalanche_network_app_request_sent_bytes: Option<f64>
avalanche_network_app_request_received_bytes: Option<f64>
avalanche_network_app_response_sent_bytes: Option<f64>
avalanche_network_app_response_received_bytes: Option<f64>
avalanche_x_db_get_count: Option<f64>
X-chain metrics.
avalanche_x_db_write_size_sum: Option<f64>
avalanche_x_db_read_size_sum: Option<f64>
avalanche_x_vtx_processing: Option<f64>
avalanche_x_txs_accepted_count: Option<f64>
avalanche_x_txs_accepted_sum: Option<f64>
avalanche_x_txs_rejected_count: Option<f64>
avalanche_x_txs_rejected_sum: Option<f64>
avalanche_x_txs_polls_accepted_count: Option<f64>
avalanche_x_txs_polls_accepted_sum: Option<f64>
avalanche_x_polls_successful: Option<f64>
avalanche_x_polls_failed: Option<f64>
avalanche_x_handler_chits_count: Option<f64>
avalanche_x_handler_query_failed_count: Option<f64>
avalanche_x_rogue_tx_issued: Option<f64>
avalanche_x_virtuous_tx_issued: Option<f64>
avalanche_x_whitelist_tx_accepted_count: Option<f64>
avalanche_x_whitelist_tx_accepted_sum: Option<f64>
avalanche_x_whitelist_tx_polls_accepted_count: Option<f64>
avalanche_x_whitelist_tx_polls_accepted_sum: Option<f64>
avalanche_x_whitelist_tx_polls_rejected_count: Option<f64>
avalanche_x_whitelist_tx_polls_rejected_sum: Option<f64>
avalanche_x_whitelist_tx_processing: Option<f64>
avalanche_x_whitelist_tx_rejected_count: Option<f64>
avalanche_x_whitelist_tx_rejected_sum: Option<f64>
avalanche_x_whitelist_vtx_issue_failure: Option<f64>
avalanche_x_whitelist_vtx_issue_success: Option<f64>
avalanche_x_benchlist_benched_num: Option<f64>
avalanche_p_vm_total_staked: Option<f64>
P-chain metrics.
avalanche_p_db_get_count: Option<f64>
avalanche_p_db_write_size_sum: Option<f64>
avalanche_p_db_read_size_sum: Option<f64>
avalanche_p_blks_accepted_count: Option<f64>
avalanche_p_blks_accepted_sum: Option<f64>
avalanche_p_blks_rejected_count: Option<f64>
avalanche_p_blks_rejected_sum: Option<f64>
avalanche_p_blks_polls_accepted_count: Option<f64>
avalanche_p_blks_polls_accepted_sum: Option<f64>
avalanche_p_polls_successful: Option<f64>
avalanche_p_polls_failed: Option<f64>
avalanche_p_handler_chits_count: Option<f64>
avalanche_p_handler_query_failed_count: Option<f64>
avalanche_p_benchlist_benched_num: Option<f64>
avalanche_c_db_get_count: Option<f64>
C-chain metrics.
avalanche_c_db_write_size_sum: Option<f64>
avalanche_c_db_read_size_sum: Option<f64>
avalanche_c_blks_processing: Option<f64>
avalanche_c_blks_accepted_count: Option<f64>
avalanche_c_blks_accepted_sum: Option<f64>
avalanche_c_blks_rejected_count: Option<f64>
avalanche_c_blks_rejected_sum: Option<f64>
avalanche_c_blks_polls_accepted_count: Option<f64>
avalanche_c_blks_polls_accepted_sum: Option<f64>
avalanche_c_polls_successful: Option<f64>
avalanche_c_polls_failed: Option<f64>
avalanche_c_handler_chits_count: Option<f64>
avalanche_c_handler_query_failed_count: Option<f64>
avalanche_c_handler_get_accepted_frontier_sum: Option<f64>
avalanche_c_handler_app_gossip_sum: Option<f64>
avalanche_c_handler_app_request_sum: Option<f64>
avalanche_c_handler_app_request_failed_sum: Option<f64>
avalanche_c_handler_app_response_sum: Option<f64>
avalanche_c_handler_accepted_frontier_sum: Option<f64>
avalanche_c_handler_get_accepted_frontier_failed_sum: Option<f64>
avalanche_c_handler_get_accepted_sum: Option<f64>
avalanche_c_handler_accepted_sum: Option<f64>
avalanche_c_handler_get_accepted_failed_sum: Option<f64>
avalanche_c_handler_get_ancestors_sum: Option<f64>
avalanche_c_handler_ancestors_sum: Option<f64>
avalanche_c_handler_get_ancestors_failed_sum: Option<f64>
avalanche_c_handler_get_sum: Option<f64>
avalanche_c_handler_put_sum: Option<f64>
avalanche_c_handler_get_failed_sum: Option<f64>
avalanche_c_handler_push_query_sum: Option<f64>
avalanche_c_handler_pull_query_sum: Option<f64>
avalanche_c_handler_chits_sum: Option<f64>
avalanche_c_handler_query_failed_sum: Option<f64>
avalanche_c_handler_connected_sum: Option<f64>
avalanche_c_handler_disconnected_sum: Option<f64>
avalanche_c_benchlist_benched_num: Option<f64>
Implementations
sourceimpl RawMetrics
impl RawMetrics
pub fn default() -> Self
pub fn x_polls_success_rate(&self) -> f64
pub fn p_polls_success_rate(&self) -> f64
pub fn c_polls_success_rate(&self) -> f64
pub fn c_blks_accepted_per_second(&self, prev: RawMetrics) -> f64
Trait Implementations
sourceimpl Clone for RawMetrics
impl Clone for RawMetrics
sourcefn clone(&self) -> RawMetrics
fn clone(&self) -> RawMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RawMetrics
impl Debug for RawMetrics
sourceimpl Default for RawMetrics
impl Default for RawMetrics
sourceimpl PartialEq<RawMetrics> for RawMetrics
impl PartialEq<RawMetrics> for RawMetrics
sourcefn eq(&self, other: &RawMetrics) -> bool
fn eq(&self, other: &RawMetrics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RawMetrics) -> bool
fn ne(&self, other: &RawMetrics) -> bool
This method tests for !=
.
sourceimpl Serialize for RawMetrics
impl Serialize for RawMetrics
impl StructuralPartialEq for RawMetrics
Auto Trait Implementations
impl RefUnwindSafe for RawMetrics
impl Send for RawMetrics
impl Sync for RawMetrics
impl Unpin for RawMetrics
impl UnwindSafe for RawMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more