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