From 55b177b97b55a5e665233f577e047e0aa9090e86 Mon Sep 17 00:00:00 2001 From: Matteo Dessalvi Date: Tue, 21 Jul 2020 14:37:48 +0200 Subject: [PATCH] Scheduler: follow naming conventions for metrics --- scheduler.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scheduler.go b/scheduler.go index cd5f356..aac9b30 100644 --- a/scheduler.go +++ b/scheduler.go @@ -233,17 +233,17 @@ func NewSchedulerCollector() *SchedulerCollector { nil, nil), total_backfilled_jobs_since_start: prometheus.NewDesc( - "slurm_backfilled_jobs_since_start_total", + "slurm_scheduler_backfilled_jobs_since_start_total", "Information provided by the Slurm sdiag command, number of jobs started thanks to backfilling since last slurm start", nil, nil), total_backfilled_jobs_since_cycle: prometheus.NewDesc( - "slurm_backfilled_jobs_since_cycle_total", + "slurm_scheduler_backfilled_jobs_since_cycle_total", "Information provided by the Slurm sdiag command, number of jobs started thanks to backfilling since last time stats where reset", nil, nil), total_backfilled_heterogeneous: prometheus.NewDesc( - "slurm_backfilled_heterogeneous_total", + "slurm_scheduler_backfilled_heterogeneous_total", "Information provided by the Slurm sdiag command, number of heterogeneous job components started thanks to backfilling since last Slurm start", nil, nil),