Skip to main content

Mountain/IPC/Enhanced/PerformanceDashboard/
DashboardStatistics.rs

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