mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-15 17:51:15 +00:00
changed metric label
This commit is contained in:
parent
db7ff9c63a
commit
64909bfe17
1 changed files with 2 additions and 2 deletions
|
@ -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"},
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue