pub struct DhtObservabilitySnapshot {Show 35 fields
pub udp_rx_packets: u64,
pub udp_rx_bytes: u64,
pub udp_tx_packets: u64,
pub udp_tx_bytes: u64,
pub inbound_ping: u64,
pub inbound_find_node: u64,
pub inbound_get_peers: u64,
pub inbound_announce_peer: u64,
pub inbound_other: u64,
pub response_normal: u64,
pub response_fallback: u64,
pub response_rate_limited: u64,
pub response_send_failed: u64,
pub announce_accepted: u64,
pub announce_invalid_token: u64,
pub announce_filtered: u64,
pub node_admitted: u64,
pub node_replaced: u64,
pub node_dropped_duplicate: u64,
pub node_dropped_rate_limited: u64,
pub node_dropped_invalid: u64,
pub metadata_bytes_downloaded: u64,
pub metadata_failure_timeout: u64,
pub metadata_failure_connect: u64,
pub metadata_failure_no_extension: u64,
pub metadata_failure_send: u64,
pub metadata_failure_size_limit: u64,
pub metadata_failure_sha1: u64,
pub metadata_failure_parse: u64,
pub metadata_failure_other: u64,
pub peer_cache_timeout_hits: u64,
pub peer_cache_connect_hits: u64,
pub queue_wait_ms: FixedHistogramSnapshot,
pub fetch_duration_ms: FixedHistogramSnapshot,
pub metadata_size_bytes: FixedHistogramSnapshot,
}Expand description
Transport-neutral counters and fixed-bucket histograms used by dashboards.
Fields§
§udp_rx_packets: u64UDP datagrams received before validation.
udp_rx_bytes: u64UDP bytes received before validation.
udp_tx_packets: u64Successfully sent UDP query and response datagrams.
udp_tx_bytes: u64Successfully sent UDP query and response bytes.
inbound_ping: u64Inbound ping queries.
inbound_find_node: u64Inbound find_node queries.
inbound_get_peers: u64Inbound get_peers queries.
inbound_announce_peer: u64Inbound announce_peer queries.
inbound_other: u64Other or invalid inbound query names.
response_normal: u64Replies admitted by the regular response budget.
response_fallback: u64Priority ping/get_peers replies admitted by the reserve.
response_rate_limited: u64Replies rejected by final response limits.
response_send_failed: u64Admitted replies whose send_to failed.
announce_accepted: u64Valid, unfiltered announces with a usable Peer port.
announce_invalid_token: u64Announces with a missing or invalid token.
announce_filtered: u64Announces rejected by the application Hash filter.
node_admitted: u64New nodes admitted to the FIFO pool.
node_replaced: u64Full-pool replacements.
node_dropped_duplicate: u64Nodes rejected as queued or recently probed duplicates.
node_dropped_rate_limited: u64Nodes rejected by the replacement budget.
node_dropped_invalid: u64Nodes rejected because their endpoint is not usable.
metadata_bytes_downloaded: u64BEP-9 Metadata piece payload bytes received.
metadata_failure_timeout: u64Metadata Peer attempts reaching the end-to-end timeout.
metadata_failure_connect: u64Metadata Peer connection failures.
metadata_failure_no_extension: u64Peers without extension-protocol support.
metadata_failure_send: u64Extension handshake or piece-request send failures.
metadata_failure_size_limit: u64Metadata payloads exceeding the 10 MiB limit.
metadata_failure_sha1: u64Metadata payloads failing InfoHash SHA1 validation.
metadata_failure_parse: u64Validated payloads that could not be parsed as torrent info.
metadata_failure_other: u64Other receive, piece or worker failures.
peer_cache_timeout_hits: u64Failure-cache hits for previously timed-out Peers.
peer_cache_connect_hits: u64Failure-cache hits for previous connection failures.
queue_wait_ms: FixedHistogramSnapshotQueue wait observations in milliseconds.
fetch_duration_ms: FixedHistogramSnapshotEnd-to-end Peer attempt observations in milliseconds.
metadata_size_bytes: FixedHistogramSnapshotComplete bencoded info payload observations in bytes.
Trait Implementations§
Source§impl Clone for DhtObservabilitySnapshot
impl Clone for DhtObservabilitySnapshot
Source§fn clone(&self) -> DhtObservabilitySnapshot
fn clone(&self) -> DhtObservabilitySnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more