Verify your ClickHouse data
Confirm the data source works end to end by running a query in Explore. A simple SELECT 1 confirms Grafana can query ClickHouse and get a result back, without needing access to any specific table.
To verify your data, complete the following steps.
In the navigation menu, click Explore.
From the data source dropdown at the top-left, select your ClickHouse data source.
For example, select ClickHouse observability.
The editor opens in Query Builder mode by default. Switch it to SQL Editor.
Skip this step if the editor is already set to SQL Editor.
In the SQL editor, enter a simple query to confirm the connection:
SELECT 1Click Run query.
You should see a single row with the value
1in the results panel below the editor. That confirms Grafana is querying ClickHouse successfully.
Confirm successful access
After running the query, you should see:
- A single row with the value
1in the Explore results panel - No connection errors or timeouts
Congratulations! You’ve connected ClickHouse to Grafana Cloud and confirmed it returns data.