clickhouse-grafana
clickhouse-grafana copied to clipboard
Syntax highlight stop works when auto-complete query failed
I created gh-api datasource which has restriction to system.* tables
and returns Code: 497. DB::Exception: play: Not enough privileges for auto-complete queries
Thereafter, I tried to make the following actions sequence:
Main menu -> Alert rules -> Add new rule
choose Column timestamp type -> DateTime
select Database, Table and Timestamp column
press Go to query
and syntax highlight stop works
@lunaticusgreen also looks like auto-complete query fetch is synchronous i mean we wait when it complete before trying to show query editor