GrafanaDashboard syncing from url and replacing variables on the go #1760
Labels
enhancement
New feature or request
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Is your feature request related to a problem? Please describe.
As platform engineers me and my collegues want to provide our customers with some standardized dashboards where our customers can only access their target cluster and namespace. For that we created a template dashboard which we store in git. Now we would like to create a kubernetes manifest
GrafanaDashboard
which takes in a url to the template dashboard json and substitutes some values on the go in the kubernetes manifest. Currently we have to create a seperate json file for each request where we need to change the query by hand. This is error prone and tidiouse if we want to update the "standardized" dashbaord(If applicable)If your feature request solves a bug please provide a link to the community issue
Describe the solution you'd like
When I create a
GrafanaDashboard
I would like to be able to substitute some variables in the dashbaord.json. ExampleDescribe alternatives you've considered
Alternatives are to create a seperate dashboard.json and then a kubernetes manifest of
GrafanaDashboard
. With the approache described above we could have one central template and multipleGrafanaDashbaord
's which synch with that one url and substitute variables on the go.Additional context
n/a
Existing solutions
n/a
Would be a really nice feature to the operator. Please let me know what you think of this. BR.
The text was updated successfully, but these errors were encountered: