Closed
Description
What happened:
Hi! I checked the code of the
RunStream(ctx context.Context, request *backend.RunStreamRequest, sender *backend.StreamSender) error
function but can’t define how to get X-Grafana-User header?
Those headers doesn’t present in the request object and in the sender.
Even if i use the middlewares for the Live stream those middleware skipped and headers setted by middlewares skipped.
What you expected to happen:
My question is maybe i miss something of how to get this X-Grafana-User
in the RunStream
.
How to reproduce it (as minimally and precisely as possible):
Just use live stream mode to retrieve data in the datasource
Anything else we need to know?:
Environment:
- SDK version:
- Grafana version:
- Go version: