mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 01:42:12 +08:00
Frontend logging: handle logging endpoints without expensive middleware (#54960)
This commit is contained in:
@ -572,6 +572,7 @@ func (hs *HTTPServer) addMiddlewaresAndStaticRoutes() {
|
||||
m.Use(hs.apiHealthHandler)
|
||||
m.Use(hs.metricsEndpoint)
|
||||
m.Use(hs.pluginMetricsEndpoint)
|
||||
m.Use(hs.frontendLogEndpoints())
|
||||
|
||||
m.UseMiddleware(hs.ContextHandler.Middleware)
|
||||
m.Use(middleware.OrgRedirect(hs.Cfg, hs.SQLStore))
|
||||
|
Reference in New Issue
Block a user