Skip to content

Commit

Permalink
Update metrics.go
Browse files Browse the repository at this point in the history
  • Loading branch information
randyahx committed Oct 31, 2023
1 parent 7b67c12 commit 6b91e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ const (
)

type MetricService struct {
MetricsMap map[string]prometheus.Collector
MetricsMap map[string]prometheus.Metric
cfg *config.Config
}

func NewMetricService(config *config.Config) *MetricService {
ms := make(map[string]prometheus.Collector, 0)
ms := make(map[string]prometheus.Metric, 0)

// Monitor
gnfdSavedBlockMetric := prometheus.NewGauge(prometheus.GaugeOpts{
Expand Down

0 comments on commit 6b91e03

Please sign in to comment.