debian-forge-composer/internal/jobqueue
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
..
dbjobqueue metrics: move metrics to worker server 2022-02-03 23:40:42 +00:00
fsjobqueue worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00
jobqueuetest worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00
jobqueue.go worker/server: typesafe Job and JobStatus 2022-02-01 20:28:40 +00:00