From 64909bfe17bd5ff51566fac4987677b11150da09 Mon Sep 17 00:00:00 2001 From: postmannen Date: Mon, 12 Apr 2021 16:49:16 +0200 Subject: [PATCH] changed metric label --- startup_processes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup_processes.go b/startup_processes.go index aa95f7c..a4ec036 100644 --- a/startup_processes.go +++ b/startup_processes.go @@ -189,12 +189,12 @@ func (s startup) subREQHello(p process) { sayHelloNodes := make(map[node]struct{}) promHelloNodes := promauto.NewGauge(prometheus.GaugeOpts{ - Name: "hello_nodes", + Name: "hello_nodes_total", Help: "The current number of total nodes who have said hello", }) promHelloNodesNameVec := promauto.NewGaugeVec(prometheus.GaugeOpts{ - Name: "hello_nodes_name", + Name: "hello_node_last_hello", Help: "Name of the nodes who have said hello", }, []string{"nodeName"}, )