Skip to main content

Mountain/IPC/Enhanced/PerformanceDashboard/
DashboardStatistics.rs

1
2//! Aggregated dashboard counters - cumulative metric / trace /
3//! alert counts plus the rolled-up averages and last-update
4//! tick.
5
6use serde::{Deserialize, Serialize};
7
8#[derive(Debug, Clone, Serialize, Deserialize)]
9pub struct Struct {
10	pub total_metrics_collected:u64,
11
12	pub total_traces_collected:u64,
13
14	pub total_alerts_triggered:u64,
15
16	pub average_processing_time_ms:f64,
17
18	pub peak_processing_time_ms:u64,
19
20	pub error_rate_percentage:f64,
21
22	pub throughput_messages_per_second:f64,
23
24	pub memory_usage_mb:f64,
25
26	pub last_update:u64,
27}