Crate metrics_util
source · [−]Expand description
Helper types and functions used within the metrics ecosystem.
Modules
Debugging utilities.
Layers are composable helpers that can be “layered” on top of an existing Recorder
to enhance
or alter its behavior as desired, without having to change the recorder implementation itself.
High-performance metrics storage.
Structs
A lock-free bucket with snapshot capabilities.
A composite key that stores both the metric key and the metric kind.
A wrapper type that provides Hashable
for any type that is Hash
.
A bucketed histogram.
Metric kind mask.
A quantile that has both the raw value and a human-friendly display label.
A quantile sketch with relative-error guarantees.
Enums
Metric kind.
Traits
A type that can hash itself.
Functions
Parses a slice of floating-point values into a vector of Quantile
s.