Crate metrics_util

source
Expand description

Helper types and functions used within the metrics ecosystem.

Modules§

  • debuggingdebugging
    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.
  • registryregistry
    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.
  • Wraps a recorder to allow for recovering it after being installed.
  • Summarysummary
    A quantile sketch with relative-error guarantees.

Enums§

Traits§

Functions§