mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 16:43:08 +08:00
Plugin Instrumentation: Add target
property to request logs (#91946)
* Plugin Instrumentation: Add `target` property to request logs * remove comment * remove error
This commit is contained in:
@ -175,7 +175,7 @@ func CreateMiddlewares(cfg *setting.Cfg, oAuthTokenService oauthtoken.OAuthToken
|
||||
}
|
||||
|
||||
if cfg.PluginLogBackendRequests {
|
||||
middlewares = append(middlewares, clientmiddleware.NewLoggerMiddleware(log.New("plugin.instrumentation")))
|
||||
middlewares = append(middlewares, clientmiddleware.NewLoggerMiddleware(log.New("plugin.instrumentation"), registry))
|
||||
}
|
||||
|
||||
skipCookiesNames := []string{cfg.LoginCookieName}
|
||||
|
Reference in New Issue
Block a user