Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on We Built a 19 PiB Logging Platform with ClickHouse and Saved Millions. Parent comment
Add all of your required data sources will well known UIDs https://grafana.com/docs/grafana/latest/administration/provi... Then you can create a query panel and update the state with the desired query SQL and data source ID like so;
const logsQuery = new SceneQueryRunner({queries: []}); logsQuery.setState({ datasource: { uid: dataSourceID}, queries: [ { "datasource": { "type": "grafana-clickhouse-datasource", "uid": dataSourceID, }, "queryType": "sql", "rawSql": logsQuerySQL, ... ], });
There are no comments on this comment yet.
Add all of your required data sources will well known UIDs https://grafana.com/docs/grafana/latest/administration/provi... Then you can create a query panel and update the state with the desired query SQL and data source ID like so;