pub struct SystemMonitor { /* private fields */ }Expand description
Main system monitor orchestrating all monitoring services
Implementations§
Source§impl SystemMonitor
impl SystemMonitor
pub async fn new( config: MonitoringConfig, metrics_collector: Arc<MetricsCollector>, ) -> RragResult<Self>
pub async fn start(&self) -> RragResult<()>
pub async fn stop(&self) -> RragResult<()>
pub async fn is_healthy(&self) -> bool
pub fn performance(&self) -> &PerformanceMonitor
pub fn search_analytics(&self) -> &SearchAnalyzer
pub fn user_activity(&self) -> &UserActivityTracker
pub async fn get_system_overview(&self) -> SystemOverview
Auto Trait Implementations§
impl Freeze for SystemMonitor
impl !RefUnwindSafe for SystemMonitor
impl Send for SystemMonitor
impl Sync for SystemMonitor
impl Unpin for SystemMonitor
impl !UnwindSafe for SystemMonitor
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