Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Sep 14, 2021
1 parent 569f91a commit 96ac391
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/p2p/libp2p/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func newMetrics() metrics {
}

func (s *Service) Metrics() []prometheus.Collector {
return append(m.PrometheusCollectorsFromFields(s.metrics),
m.PrometheusCollectorsFromFields(s.handshakeService.Metrics())...)
return m.PrometheusCollectorsFromFields(s.metrics)
//return append(m.PrometheusCollectorsFromFields(s.metrics),
//m.PrometheusCollectorsFromFields(s.handshakeService.Metrics())...)
}

0 comments on commit 96ac391

Please sign in to comment.