Altinity / clickhouse-grafana

Altinity Grafana datasource plugin for ClickHouse®
MIT License
715 stars 120 forks source link

Better template variable UX #614

Open oplehto opened 3 weeks ago

oplehto commented 3 weeks ago

Currently the template variable UI is quite limited and makes it much more difficult to develop queries compared to the normal query editor. A failed query does not give any indication on the output. Simply the results stop getting updated.

Also getting the actual SQL query with all the macros unrolled requires going to the query log to get something that can be pasted into the CLI for testing.

Getting template queries right is IMO even more important than individual panel queries because a bad template variable query can prevent the whole dashboard from loading.

So some things that could be improved in order of priority. I understand if some of these can't be realistically implemented due to the framework limitations.