Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboards: query failing in the "ClickHouse - Data Analysis" dashboard #803

Closed
oserde opened this issue Apr 18, 2024 · 0 comments · Fixed by #804
Closed

Dashboards: query failing in the "ClickHouse - Data Analysis" dashboard #803

oserde opened this issue Apr 18, 2024 · 0 comments · Fixed by #804

Comments

@oserde
Copy link
Contributor

oserde commented Apr 18, 2024

What happened:
Dashboard "ClickHouse - Data Analysis" is not loading properly. Panel "Database summary" fails because it is unable to find data_uncompressed_bytes column.

What you expected to happen:
All panels in the dashboard loading with no errors.

How to reproduce it:

  1. Install this plugin.
  2. Create a datasource that uses this plugin.
  3. Go to the datasource config -> Dashboards and click on the Import button on "ClickHouse - Data Analysis".
  4. Open the dashboard and notice the error.

Screenshots
image

Anything else we need to know?:

  • Grafana version: 10.2.3
  • Plugin version: 4.0.6
@oserde oserde added datasource/ClickHouse type/bug Something isn't working labels Apr 18, 2024
oserde added a commit to oserde/clickhouse-datasource that referenced this issue Apr 18, 2024
Similar to the issue fixed by grafana#487, there is a missmatch in the
"Database summary" panel, as it uses data_uncompressed_bytes in the
outer query (this seems to be the wanted columns, as it is defined in
the "Organize fields by name" transformation) but uses
data_compressed_bytes in the inner query, causing an error.

This PR sets the right column in the inner query and fixes grafana#803
@github-project-automation github-project-automation bot moved this from Incoming to Done in Partner Datasources Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants