From b0e199e21915e4057daad80dcfffd39c5920c4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Gonz=C3=A1lez?= Date: Mon, 20 May 2019 18:23:23 +0200 Subject: [PATCH] Remove desired_status label This label is now useless, as it will be fixed to `run` after the change in https://github.com/pcarranza/nomad-exporter/pull/14 --- exporter.go | 1 - 1 file changed, 1 deletion(-) diff --git a/exporter.go b/exporter.go index ad97331..71d08b7 100644 --- a/exporter.go +++ b/exporter.go @@ -525,7 +525,6 @@ func (e *Exporter) collectAllocations(nodes nodeMap, ch chan<- prometheus.Metric allocation.With(prometheus.Labels{ "status": alloc.ClientStatus, - "desired_status": alloc.DesiredStatus, "job_type": *job.Type, "job_id": alloc.JobID, "task_group": alloc.TaskGroup,