Skip to main content

Mountain/IPC/Enhanced/PerformanceDashboard/
MetricType.rs

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