Skip to main content

Crate vortex_metrics

Crate vortex_metrics 

Source
Expand description

Vortex metrics

Modules§

tracing
Global tracing and instrumentation

Structs§

Counter
A commutative value that can only be increased, and starts at 0 on initialization.
DefaultMetricsRegistry
Default metrics registry, stores all state in-memory.
Gauge
A gauge metric that can increase or decrease, representing a single value at the point of sampling.
Histogram
Stores an arbitrary number of data points, giving approximated information about its distribution. The current implementation uses an implementation of the DDSketch type but that might change in the future.
Label
A metric KV label.
Metric
A stored metric with name, labels, and value.
MetricBuilder
Builder for creating metrics with labels.
TimeGuard
RAII guard attached to a Timer instance, will record the time passed since its creation when dropped.
Timer
A specialized histogram for storing timed measurements. Like Histogram, it uses DDSketch to store approximated values but accepts and returns nano-scale durations.

Enums§

MetricValue
The value of a metric.

Traits§

MetricsRegistry
A registry for metrics that allows creating and storing metrics with labels.