[][src]Crate metrics_util

Helper types and functions used within the metrics ecosystem.

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.

Histogram

A bucketed histogram.

MetricsTree

A tree-structured metrics container.

Quantile

A quantile that has both the raw value and a human-friendly display label.

Registry

A high-performance metric registry.

Snapshotter

Captures point-in-time snapshots of DebuggingRecorder.

StreamingIntegers

A compressed set of integers.

Enums

DebugValue

A point-in-time value for a metric exposing raw values.

Handle

Basic metric handle.

Integer

An integer metric value.

MetricKind

Metric kinds.

Functions

parse_quantiles

Parses a slice of floating-point values into a vector of Quantiles.