Expose rate limit bucket tokens as metric (#502)
This commit is contained in:
@@ -202,6 +202,7 @@ func (s *Server) Run() {
|
||||
err := s.connector.StartAcceptingConnections(
|
||||
net.JoinHostPort("", strconv.Itoa(s.config.Port)),
|
||||
s.config.ConnectionRateLimit,
|
||||
s.config.MetricsRateLimitPeriod,
|
||||
)
|
||||
if err != nil {
|
||||
logrus.WithError(err).Error("Could not start accepting connections")
|
||||
|
||||
Reference in New Issue
Block a user