Skip to main content

Mountain/IPC/Enhanced/PerformanceDashboard/
MetricType.rs

1#![allow(non_snake_case)]
2
3//! Discriminator for `PerformanceMetric::Struct` - tags each
4//! sample with the underlying counter so the dashboard can
5//! group them.
6
7use serde::{Deserialize, Serialize};
8
9#[derive(Debug, Clone, Serialize, Deserialize)]
10pub enum Enum {
11	MessageProcessingTime,
12	ConnectionLatency,
13	MemoryUsage,
14	CpuUsage,
15	NetworkThroughput,
16	ErrorRate,
17	QueueSize,
18}