pub struct SharedStateMetrics {
pub recovery_fresh_count: IntCounter,
pub recovery_recover_count: IntCounter,
pub peer_connect_success_count: IntCounter,
pub peer_connect_failure_count: IntCounter,
pub peer_connect_timeout_count: IntCounter,
pub peer_subscription_success_count: IntCounter,
pub peer_subscription_failure_count: IntCounter,
pub action_client_count: IntCounter,
pub action_forwarded_count: IntCounter,
pub action_leader_count: IntCounter,
pub action_follower_count: IntCounter,
pub active_subscription_count: IntGauge,
}Fields§
§recovery_fresh_count: IntCounter§recovery_recover_count: IntCounter§peer_connect_success_count: IntCounter§peer_connect_failure_count: IntCounter§peer_connect_timeout_count: IntCounter§peer_subscription_success_count: IntCounter§peer_subscription_failure_count: IntCounter§action_client_count: IntCounter§action_forwarded_count: IntCounter§action_leader_count: IntCounter§action_follower_count: IntCounter§active_subscription_count: IntGaugeImplementations§
pub fn record_fresh_recovery(&self)
pub fn record_incremental_recovery(&self)
Trait Implementations§
Source§fn default() -> SharedStateMetrics
fn default() -> SharedStateMetrics
Returns the “default value” for a type. Read more
fn register(&'static self, register: &mut RegisterAction<'_>)
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more