From a0750221ca02675823df08dd2a6a201275bb0087 Mon Sep 17 00:00:00 2001 From: mluffman Date: Mon, 15 Jan 2024 10:55:18 +0000 Subject: [PATCH] change label key for kubernetes_cluster to avoid confusion --- internal/metrics/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go index 2626c54..66ec07c 100644 --- a/internal/metrics/metrics.go +++ b/internal/metrics/metrics.go @@ -16,7 +16,7 @@ var ( interruptionEvents = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "interruption_events_total", Help: "The total number of spot interruptions for a given cluster", - }, []string{"kubernetes_cluster"}) + }, []string{"target_kubernetes_cluster"}) ) // Client provides methods for modifying metrics