Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Add optional HTTP headers showing the source of the request when calling datasource #18344

Closed
uepoch opened this issue Aug 2, 2019 · 1 comment

Comments

@uepoch
Copy link
Contributor

uepoch commented Aug 2, 2019

Hello grafana !

On #17420 it is mentionned that backend_srv could be used to add tracking headers.

What would you like to be added:
We would like to generalize the use of X-Grafana-User / X-Grafana-Org-ID / X-Panel-ID / X-Dashboard-Id:

  • Add them in all datasources, not just graphite / prometheus
  • Send them from the frontend directly, so there's no need to use the datasource proxy (OPT)
  • Replace X-Dashboard-ID by either the uid or the slug as it makes little sense to end-users

Why is this needed:
For a large company, with thousands of graphs, being able to identify traffic origin is a must-have, and it would really ease detection of unwanted behaviors to have theses informations directly provided by the Grafana calls.

@uepoch uepoch changed the title [FR] Add optional HTTP headers showing the source of the request [FR] Add optional HTTP headers showing the source of the request when calling datasource Aug 2, 2019
@marefr
Copy link
Member

marefr commented Aug 5, 2019

Duplicate of #17410

@marefr marefr marked this as a duplicate of #17410 Aug 5, 2019
@marefr marefr closed this as completed Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants