Expand description
Metric types and structures for the monitoring system
This module defines the various metric types supported by the monitoring framework, including counters, gauges, histograms, and latency tracking.
Structs§
- Aggregated
Metric - Aggregated metrics for efficient storage and transmission
- Counter
- A counter metric that only increases
- Gauge
- A gauge metric that can go up or down
- Histogram
- A histogram metric for recording distributions
- Latency
Tracker - A latency tracking metric optimized for timing measurements
- Metrics
Snapshot - Metrics snapshot for persistence
Enums§
- Metric
- Unified metric type that can hold any metric variant
- Metric
Type - The type of metric being recorded
Type Aliases§
- Metric
Name - A metric name optimized for small strings
- Serializable
Metric Name - A metric name for bincode-serialized structures (uses String for compatibility)