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.
- Default
Metrics Registry - 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.
- Metric
Builder - Builder for creating metrics with labels.
- Time
Guard - RAII guard attached to a
Timerinstance, 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§
- Metric
Value - The value of a metric.
Traits§
- Metrics
Registry - A registry for metrics that allows creating and storing metrics with labels.