From 0babcea912544095df6544ac9a91e3dd9aa24c8a Mon Sep 17 00:00:00 2001 From: Matt Johnstone Date: Thu, 31 Oct 2024 22:23:38 +0200 Subject: [PATCH] reverted name back to solana_node_transactions_total --- cmd/solana_exporter/slots.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/solana_exporter/slots.go b/cmd/solana_exporter/slots.go index 76d38a5..1a628d4 100644 --- a/cmd/solana_exporter/slots.go +++ b/cmd/solana_exporter/slots.go @@ -53,7 +53,9 @@ func NewSlotWatcher(client *rpc.Client, config *ExporterConfig) *SlotWatcher { config: config, // metrics: TotalTransactionsMetric: prometheus.NewGauge(prometheus.GaugeOpts{ - Name: "solana_node_total_transactions", + // even though this isn't a counter, it is supposed to act as one, + // and so we name it with the _total suffix + Name: "solana_node_transactions_total", Help: "Total number of transactions processed without error since genesis.", }), SlotHeightMetric: prometheus.NewGauge(prometheus.GaugeOpts{