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;
22
23pub mod ConnectionStatus;
24
25pub mod HealthIssue;
26
27pub mod HealthIssueType;
28
29pub mod HealthMonitor;
30
31pub mod IPCStatusReport;
32
33pub mod InitializeStatusReporter;
34
35pub mod MessageStats;
36
37pub mod PerformanceMetrics;
38
39pub mod Reporter;
40
41pub mod ServiceInfo;
42
43pub mod ServiceMetrics;
44
45pub mod ServiceRegistry;
46
47pub mod ServiceStatus;
48
49pub mod SeverityLevel;
50
51pub mod mountain_attempt_recovery;
52
53pub mod mountain_discover_services;
54
55pub mod mountain_get_comprehensive_status;
56
57pub mod mountain_get_health_status;
58
59pub mod mountain_get_ipc_status;
60
61pub mod mountain_get_ipc_status_history;
62
63pub mod mountain_get_performance_metrics;
64
65pub mod mountain_get_service_info;
66
67pub mod mountain_get_service_registry;
68
69pub mod mountain_perform_health_check;
70
71pub mod mountain_start_ipc_status_reporting;
72
73pub mod mountain_start_service_discovery;