From 80f24dbd610a38c8788ee80e101c083458f835e9 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Tue, 8 Feb 2022 12:04:16 +0000 Subject: [PATCH] metrics: change job metrics namespace Currently the job metrics are namespaced with the composer subsystem, i.e. `composer_worker`. Since we plan to split the components to their own namespaces in app interface, the worker subsystem should be split too. --- internal/prometheus/job_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/prometheus/job_metrics.go b/internal/prometheus/job_metrics.go index eda3dba98..3d980b327 100644 --- a/internal/prometheus/job_metrics.go +++ b/internal/prometheus/job_metrics.go @@ -8,7 +8,7 @@ import ( "github.com/prometheus/client_golang/prometheus/promauto" ) -const workerSubsystem = "composer_worker" +const workerSubsystem = "worker" var ( TotalJobs = promauto.NewCounterVec(prometheus.CounterOpts{