Commit Graph
4 Commits
Author SHA1 Message Date
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
Alexandre Fayolle 8a660b6081 [ADD] monitoring_prometheus_queue_job
This commit features a refactoring of monitoring_prometheus to get a
cron gathering some metrics from the database, and then publishing the
result on the /metrics endpoint

The new module monitoring_prometheus_queue_job extends the cron to get
information about the queue job states.
2026-09-30 19:33:16 +03:00
Patrick Tombez 5ff0df3f75 [13.0][ADD] monitoring_prometheus (#239)
[13.0][ADD] monitoring_prometheus
2021-11-03 10:15:22 +01:00