Skip to content

Commit

Permalink
Revert "add prometheus substrate_process_start_time_seconds metric"
Browse files Browse the repository at this point in the history
This reverts commit e84dde6.
  • Loading branch information
edwardmack committed Mar 14, 2023
1 parent d087670 commit c21a69d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dot/network/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ var (
Name: "outbound_total",
Help: "total number of outbound streams",
})
// TODO(ed), find better way to handle this, to actually override the default process_start_time_seconds metric
runningGauge = promauto.NewGauge(prometheus.GaugeOpts{
Namespace: "substrate",
Name: "process_start_time_seconds",
Help: "gossamer process start time seconds",
})
)

type (
Expand Down Expand Up @@ -358,7 +352,6 @@ func (s *Service) updateMetrics() {
case <-s.ctx.Done():
return
case <-ticker.C:
runningGauge.Set(1.5)
peerCountGauge.Set(float64(s.host.peerCount()))
connectionsGauge.Set(float64(len(s.host.p2pHost.Network().Conns())))
nodeLatencyGauge.Set(float64(
Expand Down

0 comments on commit c21a69d

Please sign in to comment.