pub struct Collectors {
pub registry: Registry,
pub restarts_total: Counter,
pub active_services: Gauge,
pub spawned_total: Counter,
pub terminated_total: Counter,
pub circuit_breaker_trips: Counter,
pub uptime_seconds: HistogramVec,
}Expand description
The supervisor’s local prometheus collectors.
Fields§
§registry: RegistryThe registry these collectors live in.
restarts_total: Counterrustrade_supervisor_restarts_total — counter.
active_services: Gaugerustrade_supervisor_active_services — gauge.
spawned_total: Counterrustrade_supervisor_spawned_total — counter.
terminated_total: Counterrustrade_supervisor_terminated_total — counter.
circuit_breaker_trips: Counterrustrade_supervisor_circuit_breaker_trips_total — counter.
uptime_seconds: HistogramVecrustrade_supervisor_uptime_seconds — histogram (labelled by service).
Auto Trait Implementations§
impl !RefUnwindSafe for Collectors
impl !UnwindSafe for Collectors
impl Freeze for Collectors
impl Send for Collectors
impl Sync for Collectors
impl Unpin for Collectors
impl UnsafeUnpin for Collectors
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