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
13	ConnectionLatency,
14
15	MemoryUsage,
16
17	CpuUsage,
18
19	NetworkThroughput,
20
21	ErrorRate,
22
23	QueueSize,
24}