Skip to main content

Mountain/IPC/StatusReporter/
mod.rs

1#![allow(non_snake_case)]
2
3//! # IPC Status Reporter
4//!
5//! Mountain-side observability for the Wind ↔ Mountain bridge.
6//! Collects per-channel message counters, latency, queue depth,
7//! and host resource samples; aggregates them into health-score
8//! and service-discovery snapshots; emits to Sky via Tauri
9//! events on a configurable interval.
10//!
11//! Layout:
12//! - DTO siblings (`Struct` / `Enum` per file): the wire shapes Sky
13//!   deserialises.
14//! - `Reporter::Struct` - the aggregator + 30-method impl (one cohesive unit;
15//!   constructor, periodic loops, health check, service discovery, recovery).
16//! - `mountain_*` Tauri commands - one wire-bound entry per file, all
17//!   delegating to the `Reporter::Struct` in Tauri state.
18//! - `InitializeStatusReporter::initialize_status_reporter` - bootstrap helper
19//!   called from `Binary/Register/StatusReporterRegister.rs`.
20
21pub mod ComprehensiveStatusReport;
22pub mod ConnectionStatus;
23pub mod HealthIssue;
24pub mod HealthIssueType;
25pub mod HealthMonitor;
26pub mod IPCStatusReport;
27pub mod InitializeStatusReporter;
28pub mod MessageStats;
29pub mod PerformanceMetrics;
30pub mod Reporter;
31pub mod ServiceInfo;
32pub mod ServiceMetrics;
33pub mod ServiceRegistry;
34pub mod ServiceStatus;
35pub mod SeverityLevel;
36pub mod mountain_attempt_recovery;
37pub mod mountain_discover_services;
38pub mod mountain_get_comprehensive_status;
39pub mod mountain_get_health_status;
40pub mod mountain_get_ipc_status;
41pub mod mountain_get_ipc_status_history;
42pub mod mountain_get_performance_metrics;
43pub mod mountain_get_service_info;
44pub mod mountain_get_service_registry;
45pub mod mountain_perform_health_check;
46pub mod mountain_start_ipc_status_reporting;
47pub mod mountain_start_service_discovery;