Expand description
Logging dataflow for Prometheus metrics gathered from the metrics registry.
Structsยง
Functionsยง
- construct ๐
- Constructs the logging dataflow fragment for Prometheus metrics.
- flatten_
metrics ๐ - Flatten metric families into a snapshot map.
- format_
f64 ๐ - Format an f64 for use as a label value, matching Prometheus conventions.
- insert_
row ๐ - Insert a single metric row into the snapshot.
- pack_
row ๐ - Pack a metric row into key/value row pairs.
Type Aliasesยง
- Snapshot
Key ๐ - Key type for the snapshot: (metric_name, sorted_label_pairs).
- Snapshot
Value ๐ - Value type for the snapshot: (value, metric_type, help).