Closed Slach closed 2 months ago
Tested it and it was works week ago
I tried make following actions sequence Main menu -> Alert rules -> Add new rule
Choose clickhouse as datasource choose Column timestamp type -> DateTime select Database, Table and Timestamp column
clickhouse
Database
Table
Timestamp column
press Go to query
Go to query
and got wrong structure passed to EvalQuery, changed from String to Object
EvalQuery
String
Object
it was always string, not the object
look to https://github.com/Altinity/clickhouse-grafana/blob/master/docker/grafana/dashboards/array_join_nested.json#L112 for example
Tested it and it was works week ago
I tried make following actions sequence Main menu -> Alert rules -> Add new rule
Choose
clickhouse
as datasource choose Column timestamp type -> DateTime selectDatabase
,Table
andTimestamp column
press
Go to query
and got wrong structure passed to![image](https://github.com/Altinity/clickhouse-grafana/assets/105560/9de70be7-2416-4f44-881d-4f9b52ca62a4)
EvalQuery
, changed fromString
toObject
it was always string, not the object
look to https://github.com/Altinity/clickhouse-grafana/blob/master/docker/grafana/dashboards/array_join_nested.json#L112 for example