Expand description
Performance metrics and monitoring for Moirai.
The crate exposes cloneable metric handles backed by shared atomic or bounded mutex state. Metric snapshots are value copies suitable for export without retaining collector locks.
Structsยง
- Counter
- A monotonically increasing counter metric.
- Gauge
- A signed gauge metric that may increase or decrease.
- Histogram
- A finite-sample histogram metric.
- Histogram
Error - Error returned when a histogram sample violates the finite-value contract.
- Histogram
Stats - Statistics from a histogram.
- Metrics
- A metrics collection system.
- Metrics
Collector - A thread-safe metrics collector.
- Metrics
Snapshot - A value snapshot of all metrics at one collection point.
- Prometheus
Exporter - A zero-sized Prometheus text exporter.