Skip to main content

DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/StatusReporter/
ServiceMetrics.rs

1//! Per-service performance counters embedded inside
2//! `ServiceInfo::Struct`. Currently filled with mock values
3//! pending real metric plumbing.
4
5use serde::{Deserialize, Serialize};
6
7#[derive(Debug, Clone, Serialize, Deserialize)]
8pub struct Struct {
9	pub response_time:f64,
10
11	pub error_rate:f64,
12
13	pub throughput:f64,
14
15	pub memory_usage:f64,
16
17	pub cpu_usage:f64,
18
19	pub last_updated:u64,
20}