register missing metric
@@ -34,7 +34,7 @@ func setup(c *caddy.Controller) error {
})
c.OnStartup(func() error {
- metrics.MustRegister(c, RequestCount, RcodeCount, RequestDuration, HealthcheckFailureCount, SocketGauge)
+ metrics.MustRegister(c, RequestCount, RcodeCount, RequestDuration, HealthcheckFailureCount, SocketGauge, MaxConcurrentRejectCount)
return f.OnStartup()
})
