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