grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
141 stars 21 forks source link

OrgId parameter always in url path #762

Open ptrkkr opened 5 months ago

ptrkkr commented 5 months ago

Hey guys!

I don't know if this is a Grafana thing or scenes but I will give it a try here:

As a developer using Grafana for multi-tenancy use cases, it would be beneficial to have the orgId already encoded in the URL because when you copy the URL and send it to another user. The user needs to know the organization in which this link is valid.

I have found out that I can add it manually to the URL by doing the following:

https://[grafana-url]/a/[app-name]/[some-path]?orgId=[any-orgId]&var-[any-variable]=[any-value]

It would be cool if the orgId param is always in the URL.

Thx already in advance!