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:
parent
a739151c71
commit
80f24dbd61
1 changed files with 1 additions and 1 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue