Altinity / clickhouse-grafana

Altinity Grafana datasource plugin for ClickHouse
MIT License
704 stars 119 forks source link

Syntax highlight stop works when auto-complete query failed #559

Closed Slach closed 2 months ago

Slach commented 2 months ago

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

image

press Go to query

and syntax highlight stop works image

Slach commented 2 months ago

@lunaticusgreen also looks like auto-complete query fetch is synchronous i mean we wait when it complete before trying to show query editor