-
What Grafana version and what operating system are you using?
Grafana Cloud -
What are you trying to achieve?
I have a dashboard query variable whose values come from a prometheus query label values. The values from this query change often, and I want the default value to always be the first one alphabetically. -
How are you trying to achieve it?
Looking through all the variable options, I see how to choose a specific default value, but I can’t find a way to remove the default. The best workaround I found is to add a custom value called “select” as the default, which makes all the panels not load, forcing the user to change it.
For context: This dashboard is used to visualize cinema projector measurements taken once per day, and scraped by prometheus every minute. All metrics are labeled with the measurement date, which is different than the prometheus timestamp, so the user needs to be able to select which measurement to view. Some panels draw a time series to see it over time, and other panels show one specific measurement based on that variable.



