Skip to main content

Mountain/IPC/Enhanced/PerformanceDashboard/
DashboardStatistics.rs

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