debian-forge-composer/internal/prometheus
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
..
http_metrics.go metrics: add prometheus namespaces 2021-11-19 22:48:25 +01:00
job_metrics.go prometheus/job: measure time spent pending rather than queued 2022-05-14 17:47:38 +01:00
middleware.go prometheus: add middleware function 2021-10-29 20:36:18 +01:00