Skip to content

Commit

Permalink
Remove old networking metric (ava-labs#1619)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph committed Jun 14, 2023
1 parent f41e627 commit cc69f03
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions network/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ type metrics struct {
numSubnetPeers *prometheus.GaugeVec
timeSinceLastMsgSent prometheus.Gauge
timeSinceLastMsgReceived prometheus.Gauge
sendQueuePortionFull prometheus.Gauge
sendFailRate prometheus.Gauge
connected prometheus.Counter
disconnected prometheus.Counter
Expand Down Expand Up @@ -71,11 +70,6 @@ func newMetrics(namespace string, registerer prometheus.Registerer, initialSubne
Name: "time_since_last_msg_sent",
Help: "Time (in ns) since the last msg was sent",
}),
sendQueuePortionFull: prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: namespace,
Name: "send_queue_portion_full",
Help: "Percentage of use in Send Queue",
}),
sendFailRate: prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: namespace,
Name: "send_fail_rate",
Expand Down Expand Up @@ -154,7 +148,6 @@ func newMetrics(namespace string, registerer prometheus.Registerer, initialSubne
registerer.Register(m.numSubnetPeers),
registerer.Register(m.timeSinceLastMsgReceived),
registerer.Register(m.timeSinceLastMsgSent),
registerer.Register(m.sendQueuePortionFull),
registerer.Register(m.sendFailRate),
registerer.Register(m.connected),
registerer.Register(m.disconnected),
Expand Down

0 comments on commit cc69f03

Please sign in to comment.