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

(cherry picked from commit 09eb9a45ce)
This commit is contained in:
Oleg Gaidarenko
2019-07-26 15:56:18 +02:00
committed by Leonard Gram
parent 81f8158010
commit 3d7c52dcd1
2 changed files with 15 additions and 2 deletions
+2 -1
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)
}