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. |
||
|---|---|---|
| .. | ||
| schemas | ||
| dbjobqueue.go | ||