Rust referencezer0-proto-mp
zer0-proto-mp · metrics
Source declarations, signatures and documentation for metrics.
Source: sigil/weave/libs/zer0-proto-mp/src/metrics.rs. SHA-256: ea24e33624e64bca296f35fd4b15fde54f57c6d931ce428b993de7b90d43abcf.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
metrics::MuxMetrics
#[derive(Debug, Default)]
pub struct MuxMetrics {
pub frames_in_total: AtomicU64,
pub frames_out_total: AtomicU64,
pub bytes_in_total: AtomicU64,
pub bytes_out_total: AtomicU64,
pub channels_opened_total: AtomicU64,
pub channels_closed_total: AtomicU64,
pub half_closes_total: AtomicU64,
pub aborts_total: AtomicU64,
pub credits_granted_total: AtomicU64
}Source line: 6.
metrics::MuxMetrics::export_prometheus_text
pub fn export_prometheus_text(&self, namespace: &str) -> String;Source line: 19.