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.
This commit is contained in:
Gianluca Zuccarelli 2022-02-08 12:04:16 +00:00 committed by Sanne Raymaekers
parent a739151c71
commit 80f24dbd61

View file

@ -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{