Metrics: add LDAP active sync summary metric (#18079)

This commit is contained in:
Oleg Gaidarenko
2019-07-15 08:33:48 +03:00
committed by GitHub
parent 7213e1f7ff
commit 09eb9a45ce
2 changed files with 15 additions and 2 deletions

View File

@ -269,7 +269,8 @@ func (hs *HTTPServer) metricsEndpoint(ctx *macaron.Context) {
return
}
promhttp.HandlerFor(prometheus.DefaultGatherer, promhttp.HandlerOpts{}).
promhttp.
HandlerFor(prometheus.DefaultGatherer, promhttp.HandlerOpts{}).
ServeHTTP(ctx.Resp, ctx.Req.Request)
}