[v10.4.x] DataQuery: Track panel plugin id not type (#83164)
DataQuery: Track panel plugin id not type (#83091)
(cherry picked from commit 64e0a4282e)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
committed by
GitHub
parent
a0c2fb1b8c
commit
deb12d4e94
@@ -344,7 +344,7 @@ func (proxy *DataSourceProxy) logRequest() {
|
||||
}
|
||||
}
|
||||
|
||||
panelPluginType := proxy.ctx.Req.Header.Get("X-Panel-Plugin-Type")
|
||||
panelPluginId := proxy.ctx.Req.Header.Get("X-Panel-Plugin-Id")
|
||||
|
||||
ctxLogger := logger.FromContext(proxy.ctx.Req.Context())
|
||||
ctxLogger.Info("Proxying incoming request",
|
||||
@@ -354,7 +354,7 @@ func (proxy *DataSourceProxy) logRequest() {
|
||||
"datasource", proxy.ds.Type,
|
||||
"uri", proxy.ctx.Req.RequestURI,
|
||||
"method", proxy.ctx.Req.Method,
|
||||
"panelPluginType", panelPluginType,
|
||||
"panelPluginId", panelPluginId,
|
||||
"body", body)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user