Skip to content

Commit

Permalink
Aggregate metric by domain
Browse files Browse the repository at this point in the history
  • Loading branch information
dcadenas committed Mar 5, 2024
1 parent ff78308 commit 872eb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/adapters/prometheus/prometheus.go
Expand Up @@ -272,7 +272,7 @@ func (p *Prometheus) ReportNumberOfSubscriptions(address domain.RelayAddress, n

func (p *Prometheus) ReportRateLimitBackoffMs(address domain.RelayAddress, n int) {
p.relayRateLimitBackoffMsGauge.With(prometheus.Labels{
labelAddress: address.String(),
labelAddress: address.HostWithoutPort(),
}).Set(float64(n))
}

Expand Down

0 comments on commit 872eb14

Please sign in to comment.