reverted name back to solana_node_transactions_total
This commit is contained in:
parent
98644222a4
commit
0babcea912
|
@ -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{
|
||||||
|
|
Loading…
Reference in New Issue