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