Description
As a namespaced developer I want to access a datasource to retrieve data about my namespace without needing access to data outside of my namespace.
Acceptance Criteria
This issue will have two primary components, documentation and updating perses query plugins to support manually setting a query parameter.
- There should be a clear set of documentation which explains how perses can be set up to enable a namespaced developer viewing a dashboard
- The documentation should describe the necessity of creating two datasources, an "admin" one which queries on the 9091 port of the thanos querier and a "developer" one which queries on the 9092 port of the thanos querier.
- The documentation should describe how each tenancy panel's query should include the namespace parameter set to the specific value
- The query plugins should support setting a QueryParam value which is able to hardcode a query parameter to be included in the http request to the backend
-
- These changes should be reflected in the tempo, loki, and prometheus queries
- An alternative option would be potentially looking to add a hidden or non-hidden variable which is included in the http request as a query parameter