Commit Graph
5 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 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
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
Yannick Payot 9ca3f6a710 Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template

Target Python3.8

Apply linting

Fix a missing call to super
2023-05-24 16:09:11 +02:00
Patrick Tombez 5ff0df3f75 [13.0][ADD] monitoring_prometheus (#239)
[13.0][ADD] monitoring_prometheus
2021-11-03 10:15:22 +01:00