Metrics: add LDAP active sync summary metric (#18079)
(cherry picked from commit 09eb9a45ce)
This commit is contained in:
committed by
Leonard Gram
parent
81f8158010
commit
3d7c52dcd1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user