Commit Graph
4 Commits
Author SHA1 Message Date
David Gallay 64764548cd [FIX] fixing CI 2026-10-01 13:39:47 +02:00
David Gallay 95f6a48b9d [REF] monitoring_prometheus: gather metrics on the fly in /metrics
The cron and the prometheus.metric table only existed to pass values from
the cron process to the HTTP workers. Querying the database directly when
/metrics is scraped removes the cron, the table and the staleness.
2026-10-01 11:55:24 +02:00
David Gallay 93d934d676 [REF] monitoring_prometheus: merge prometheus.gatherer into prometheus.metric
The abstract model held no state, it was only an extension point.
2026-10-01 11:41:39 +02:00
David Gallay 6f17f3c9e9 [IMP] monitoring_prometheus: new gauge registry on each /metrics call
Shared gauges mixed data between parallel requests and between databases.
This also avoids cleaning up stale series.
2026-10-01 11:29:48 +02:00