I want to design a grafana dashboard that shows multiple cloudwatch metrics into 1 single panel as a time-series.
I want to have a multi-select drop down variable on the dashboard (populated manually with fixed values). As and when the user selects or deselects values from this drop down, the panel should show or remove the timeseries for the selected/unselected metric from the drop down list.
I have been able to repeat the panel using repeat option, but I won’t to show all metrics in same panel. Is this feasible please? I am newbie, still learning grafana so apologies if this is an obvious and simple question
HI,
I think you can find your answer here:
This isn’t helpful. What exactly are you point me to please?
I have already added a variable in my dashboard which is multiselectable.
I have a logic which repeats my panel for every selection, but instead I don’t want to repeat the panels… Rather I want to show data in 1 single panel
The data source that I am using is sql
Can you show your dashboard json?
that approach is a good approach to show hide panels based on the selected items in the drop down.
you just need to make sure the root query on the master panel uses the value of the selected items from the drop down to filter the data.
what are the list of items on the drop down? and what does your query that will be filtered be like?
That’s very ambitious task for newbie. Pro will spend a few hours developing that, because this “simple question” is not how Grafana works usually.