We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560000d commit bbe0f8bCopy full SHA for bbe0f8b
internal/api/api.go
@@ -138,6 +138,9 @@ func Start(cfg *config.Config) error {
138
// Add to global monitor object
139
_ = ginmetrics.GetMonitor().AddMetric(failureMetric)
140
_ = ginmetrics.GetMonitor().AddMetric(submittedMetric)
141
+ // Initialize metrics
142
+ _ = ginmetrics.GetMonitor().GetMetric("tx_submit_fail_count").SetGaugeValue(nil, 0.0)
143
+ _ = ginmetrics.GetMonitor().GetMetric("tx_submit_count").SetGaugeValue(nil, 0.0)
144
145
// Start metrics listener
146
go func() {
0 commit comments