Crate metrics_util[−][src]
Helper types and functions used within the metrics ecosystem.
Modules
| layers | Layers are composable helpers that can be "layered" on top of an existing  | 
Structs
| AtomicBucket | A lock-free bucket with snapshot capabilities. | 
| CompositeKey | A composite key that stores both the metric key and the metric kind. | 
| DebuggingRecorder | A simplistic recorder that can be installed and used for debugging or testing. | 
| Generation | Generation counter. | 
| Histogram | A bucketed histogram. | 
| MetricKindMask | Metric kind mask. | 
| Quantile | A quantile that has both the raw value and a human-friendly display label. | 
| Recency | Tracks recency of metric updates by their registry generation and time. | 
| Registry | A high-performance metric registry. | 
| Snapshotter | Captures point-in-time snapshots of  | 
| Summary | A quantile sketch with relative-error guarantees. | 
Enums
| DebugValue | A point-in-time value for a metric exposing raw values. | 
| Handle | Basic metric handle. | 
| MetricKind | Metric kind. | 
Functions
| parse_quantiles | Parses a slice of floating-point values into a vector of  |