Skip to content

Commit

Permalink
reverted name back to solana_node_transactions_total
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstonematt committed Oct 31, 2024
1 parent 9654faa commit 0d2322b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/solana_exporter/slots.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 0d2322b

Please sign in to comment.