Expand description
Prometheus *_info metrics describing catalog objects.
These follow the standard Prometheus “info” pattern (kube_pod_info
style): one series per object, constant value 1, with descriptive
labels. They give other metrics a stable group_left join target for
resolving object IDs to names.
The metrics are periodically reconciled with the catalog by a background task (Coordinator::spawn_catalog_info_metrics_task, driven by an interval off the coordinator’s main loop. It rebuilds the series whenever the catalog’s transient revision changes, from the catalog. It’s okay if the info metrics are not exactly up to date and eventually consistent.
Structs§
- Catalog
Info 🔒Metrics *_infometrics for catalog objects, mirroring the in-memory catalog.
Constants§
- FALLBACK_
RECONCILE_ 🔒INTERVAL - Fallback reconcile cadence: the re-poll cadence used while reconciliation is disabled (a zero CATALOG_INFO_METRICS_RECONCILE_INTERVAL), so it can be re-enabled at runtime.
- RECONCILE_
WARN_ 🔒THRESHOLD - Reconciles that take longer than this are logged at warn level.