mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Add referer and user login params to plugin CDN redirect logs (#77942)
add referer and user
This commit is contained in:
parent
da117aea1c
commit
7d2d5fbe89
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user