You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
Whenever I add an ad-hoc filter for a panel, the plugin makes a request SELECT name, type, table FROM system.columns, which adds a few sec. delay.
What you expected to happen:
Do not fetch definitions again, if the plugin already has the necessary data.
How to reproduce it (as minimally and precisely as possible):
Crete a panel
add an ad-hoc filter variable
add a filter
add another filter
Screenshots
Environment:
Grafana version: main branch
Plugin version: v3.1.0
The text was updated successfully, but these errors were encountered:
Hi @mshustov, thank you for opening this. I'm unsure this is a bug, how can we be certain that the schema hasn't changed in between the filters being added? If a datasource is left open for awhile that could be enough time for the schema to change and those changes would not be reflected in the options.
how can we be certain that the schema hasn't changed in between the filters being added? If a datasource is left open for awhile that could be enough time for the schema to change and those changes would not be reflected in the options.
The plugin can implement time-based or any other caching policy. I don't think the plugin re-fetches data on Expore view for example, and it provides a way better UX.
What happened:
Whenever I add an ad-hoc filter for a panel, the plugin makes a request
SELECT name, type, table FROM system.columns
, which adds a few sec. delay.What you expected to happen:
Do not fetch definitions again, if the plugin already has the necessary data.
How to reproduce it (as minimally and precisely as possible):
Screenshots
Environment:
The text was updated successfully, but these errors were encountered: