[−][src]Crate metrics_util
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 | An atomic 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. |
MetricKind | Metric kind. |
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 |
Enums
DebugValue | A point-in-time value for a metric exposing raw values. |
Handle | Basic metric handle. |
Functions
parse_quantiles | Parses a slice of floating-point values into a vector of |