mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 03:03:57 +08:00
Plugins: Add referer and user login params to plugin CDN redirect logs (#77942)
add referer and user
This commit is contained in:
@ -380,6 +380,8 @@ func (hs *HTTPServer) redirectCDNPluginAsset(c *contextmodel.ReqContext, plugin
|
||||
"pluginVersion", plugin.Info.Version,
|
||||
"assetPath", assetPath,
|
||||
"remoteURL", remoteURL,
|
||||
"referer", c.Req.Referer(),
|
||||
"user", c.Login,
|
||||
)
|
||||
pluginsCDNFallbackRedirectRequests.With(prometheus.Labels{
|
||||
"plugin_id": plugin.ID,
|
||||
|
Reference in New Issue
Block a user