debian-forge-composer/internal/worker
Tom Gundersen 4eeaebd40b prometheus/job: measure time spent pending rather than queued
We are interested in the time it takes from a job could be dequeued
until it is, but if a job has dependencies that are not yet finished, it
cannot be dequeued.

Change the logic to measure the time since the last dependency was
dequeued rather than when the job was queued.

The purpose of this metric is to have an alert fire in case we have too
few workers processing jobs.
2022-05-14 17:47:38 +01:00
..
api api/{cloud,worker}: used channel name based on JWT claims for new jobs 2022-03-08 12:07:00 +01:00
clienterrors worker/clienterrors: depenency error check 2022-04-13 10:31:53 +02:00
client.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
client_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
json.go Stop setting the StreamOptimized option in Weldr and Cloud APIs 2022-05-04 16:22:29 +02:00
proxy_test.go worker: add proxy support to composer and oauth calls 2022-05-03 06:19:31 +01:00
server.go prometheus/job: measure time spent pending rather than queued 2022-05-14 17:47:38 +01:00
server_test.go worker: move client test to its own file 2022-05-03 06:19:31 +01:00