debian-forge-composer/internal/prometheus
Gianluca Zuccarelli 33e53398a6 prometheus: add status metrics
Add a helper function to register the same metrics
for both the worker and composer - the only difference
being the subsystem name. The function checks if the
metric has already been registered and, if so, returns
the already registered metric.
2022-11-30 11:14:29 +01:00
..
constants.go prometheus: move constants to a single file 2022-11-30 11:14:29 +01:00
http_metrics.go prometheus: move constants to a single file 2022-11-30 11:14:29 +01:00
job_metrics.go prometheus: move constants to a single file 2022-11-30 11:14:29 +01:00
middleware.go prometheus: add middleware function 2021-10-29 20:36:18 +01:00
status_metrics.go prometheus: add status metrics 2022-11-30 11:14:29 +01:00