debian-forge-composer/internal/jobqueue/dbjobqueue
Gianluca Zuccarelli 6c4caec022 metrics: move metrics to worker server
For simplicity, the collection of the job metrics
was carried out in the job queue. This was only
being done in the dbqueue and not in the fsqueue.
This pr refactors the metric collection and moves
the job metrics to the worker server, by adding a
wrapper function to enqueueing jobs so that the
metrics only have to be recorded in one place when
queueing a job.
2022-02-03 23:40:42 +00:00
..
schemas jobqueue: Introduce jobqueue backed by a postgres database 2021-07-28 21:52:31 +01:00
dbjobqueue.go metrics: move metrics to worker server 2022-02-03 23:40:42 +00:00