Introduction
Getting Started
Savant 101
Advanced Topics
Cookbook
Reference
Gauge
Savant Development
Gauge inheritance diagram
Gauge metric.
Usage example:
gauge = Gauge( name='total_queue_length', description='The total queue length for the pipeline', ) gauge.set(123)
Set gauge to specific value.
value – Gauge value.
labels (Tuple[str, ...]) – Labels values.
timestamp (float | None) – Metric timestamp.
Metric description.
Metric label names.
Metric name.
Metric values.
Dictionary: labels -> (value, timestamp).