reverted name back to solana_node_transactions_total

This commit is contained in:
Matt Johnstone 2024-10-31 22:23:38 +02:00
parent 98644222a4
commit 0babcea912
No known key found for this signature in database
GPG Key ID: BE985FBB9BE7D3BB
1 changed files with 3 additions and 1 deletions

View File

@ -53,7 +53,9 @@ func NewSlotWatcher(client *rpc.Client, config *ExporterConfig) *SlotWatcher {
config: config, config: config,
// metrics: // metrics:
TotalTransactionsMetric: prometheus.NewGauge(prometheus.GaugeOpts{ 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.", Help: "Total number of transactions processed without error since genesis.",
}), }),
SlotHeightMetric: prometheus.NewGauge(prometheus.GaugeOpts{ SlotHeightMetric: prometheus.NewGauge(prometheus.GaugeOpts{