Skip to content

Commit c816a40

Browse files
committed
revert metrics names
1 parent 42d03f1 commit c816a40

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

multinode/node_lifecycle.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@ import (
1717

1818
var (
1919
promPoolRPCNodeHighestSeenBlock = promauto.NewGaugeVec(prometheus.GaugeOpts{
20-
Name: "multinode_pool_rpc_node_highest_seen_block",
20+
Name: "pool_rpc_node_highest_seen_block",
2121
Help: "The highest seen block for the given RPC node",
2222
}, []string{"chainID", "nodeName"})
2323
promPoolRPCNodeHighestFinalizedBlock = promauto.NewGaugeVec(prometheus.GaugeOpts{
24-
Name: "multinode_pool_rpc_node_highest_finalized_block",
24+
Name: "pool_rpc_node_highest_finalized_block",
2525
Help: "The highest seen finalized block for the given RPC node",
2626
}, []string{"chainID", "nodeName"})
2727
promPoolRPCNodeNumSeenBlocks = promauto.NewCounterVec(prometheus.CounterOpts{
28-
Name: "multinode_pool_rpc_node_num_seen_blocks",
28+
Name: "pool_rpc_node_num_seen_blocks",
2929
Help: "The total number of new blocks seen by the given RPC node",
3030
}, []string{"chainID", "nodeName"})
3131
promPoolRPCNodePolls = promauto.NewCounterVec(prometheus.CounterOpts{
32-
Name: "multinode_pool_rpc_node_polls_total",
32+
Name: "pool_rpc_node_polls_total",
3333
Help: "The total number of poll checks for the given RPC node",
3434
}, []string{"chainID", "nodeName"})
3535
promPoolRPCNodePollsFailed = promauto.NewCounterVec(prometheus.CounterOpts{
36-
Name: "multinode_pool_rpc_node_polls_failed",
36+
Name: "pool_rpc_node_polls_failed",
3737
Help: "The total number of failed poll checks for the given RPC node",
3838
}, []string{"chainID", "nodeName"})
3939
promPoolRPCNodePollsSuccess = promauto.NewCounterVec(prometheus.CounterOpts{
40-
Name: "multinode_pool_rpc_node_polls_success",
40+
Name: "pool_rpc_node_polls_success",
4141
Help: "The total number of successful poll checks for the given RPC node",
4242
}, []string{"chainID", "nodeName"})
4343
)

0 commit comments

Comments
 (0)