-
Notifications
You must be signed in to change notification settings - Fork 267
ClickHouse Database datasource plugin update to 2.3.1 #928
Conversation
## Breaking changes * On latest Grafana 7.x releases, template variables SQL queries shall return only scalar types of values, see Altinity/clickhouse-grafana#328 ## Enhancement: * add support Apple M1 ;) * switch to new grafana plugin Golang SDK, thanks to @bmanth60 and @valeriakononenko for help * add BasicAuth support for alerts, see Altinity/clickhouse-grafana#267 ## Fixes: * fix github actions backend build * fix UNION ALL parsing, see Altinity/clickhouse-grafana#319 * fix many issues with alerting * Altinity/clickhouse-grafana#305 * Altinity/clickhouse-grafana#327 * Altinity/clickhouse-grafana#334 * Altinity/clickhouse-grafana#335 Signed-off-by: Eugene Klimov <[email protected]>
@marcusolsson could you look to this PR ? |
I have a question about the Yandex.Cloud authorization headers. The X-ClickHouse-Key field is saved in jsonData (clear text) and it is easy to see the value for it in the network request. Is this a credential that should be saved in secureJsonData and added as a header on the backend instead? It is used on the backend here: https://github.com/Vertamedia/clickhouse-grafana/blob/master/pkg/client.go#L52 but also on the frontend: https://github.com/Vertamedia/clickhouse-grafana/blob/master/src/datasource.ts#L84 |
@daniellee I can prepare secureJson PR with different release |
Sounds like a plan as this is not part of this change and was introduced a long time ago. Will merge this and then you can follow up with the fix. |
@daniellee thanks a lot, I promise a next release will try to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of changes in this release. The new authentication changes look good. While going through the code noticed that the frontend does not handle the Yandex API key in a secure way and that will need to be fixed in the near future.
## Breaking changes * On latest Grafana 7.x releases, template variables SQL queries shall return only scalar types of values, see Altinity/clickhouse-grafana#328 ## Enhancement: * add support Apple M1 ;) * switch to new grafana plugin Golang SDK, thanks to @bmanth60 and @valeriakononenko for help * add BasicAuth support for alerts, see Altinity/clickhouse-grafana#267 ## Fixes: * fix github actions backend build * fix UNION ALL parsing, see Altinity/clickhouse-grafana#319 * fix many issues with alerting * Altinity/clickhouse-grafana#305 * Altinity/clickhouse-grafana#327 * Altinity/clickhouse-grafana#334 * Altinity/clickhouse-grafana#335 Signed-off-by: Eugene Klimov <[email protected]>
2.3.1 (2021-04-23)
Breaking changes
Enhancement:
Fixes:
Signed-off-by: Eugene Klimov [email protected]