Page 1 of 1

selected queries no longer selected in panel

Posted: Tue Sep 08, 2020 7:49 am
by CBoekhuis
Hi,

while creating a new global dashboard I ran into a strange behavior regarding selected queries in a panel. Well, strange to me anyway ;) .
I created a big list of queries (one for each application) which run on multiple clusters. I then created a histogram graph panel for each cluster. To reflect which appication runs on which cluster, I set the option queries=selected in each panel and selected the queries which should be shown in that graph. Great, works like a charm.

However, more often I only want to see only a few of those queries, so I deactivated all the queries and saved the dashboard. That way I only need to activate the query I need when I load the dashboard. However, nothing is shown in the graph.

Apparently, when you deactivate a query and the panel is configured to use selected queries, the query is also deactivated in the panel. But when you activate the query you need, this will not happen in the panel (which makes sense to me). This is different from the situation where a panel is configured to use queries=all. When the option queries is set to all, you can deactivate and reactivate queries and it will reflect in the panel.

So is this a bug or an (unwanted) feature? ;)

Re: selected queries no longer selected in panel

Posted: Tue Sep 08, 2020 4:59 pm
by cdienger
I'll have to lab this up to better understand. Can you confirm the NLS version?

Re: selected queries no longer selected in panel

Posted: Wed Sep 09, 2020 1:39 am
by CBoekhuis
NLS version is 2.1.7

Re: selected queries no longer selected in panel

Posted: Wed Sep 09, 2020 4:31 pm
by cdienger
Thanks for pointing this out. I was able to reproduce and will file a bug for this.

Re: selected queries no longer selected in panel

Posted: Thu Sep 10, 2020 1:43 am
by CBoekhuis
Thanks! I'm looking forward for the fix.

Re: selected queries no longer selected in panel

Posted: Thu Sep 10, 2020 6:49 am
by scottwilkerson
CBoekhuis wrote:Thanks! I'm looking forward for the fix.

Locking thread