-
Notifications
You must be signed in to change notification settings - Fork 36
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
Dashboard variables: set default value on import #3384
Comments
@mamoep Check if the following DSL in the import command meets your request: Use the
Examplebin/grafana import --var-defaults "Datacenter=DC1,DC2;Cluster=Cluster1" This sets:
|
That proposal looks good to me. |
I really appreciate that you picked this feature request so fast. Don't forget to add some documention. ;) |
You're welcome. I have initiated a nightly build for you to try. I'll update you once it is available. Yes, the documentation has been added to the CLI. It will look like this:
|
You can try these changes in nightly build and provide feedback. Thanks. |
Is your feature request related to a problem? Please describe.
I have three datacenters (labeled A,B,C) and most of the time I want to look at clusters in datacenter B. After dashboard import every dashboard uses A as default chosen datacenter.
Describe the solution you'd like
I want to chose the default value of the datacenter variable when using
bin/harvest grafana import
Describe alternatives you've considered
It is possible to change and save the dashboard after import, but it is tedious task.
Additional context
n/a
The text was updated successfully, but these errors were encountered: