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

GrafanaDisk Space Free dashboard is not working with clickhouse v24.3+ #1487

Closed
lesandie opened this issue Aug 14, 2024 · 1 comment
Closed

Comments

@lesandie
Copy link
Contributor

About prometheus metrics, in latest clickhouse versions (24) asynchronous metrics for disks look the same but some dashboards stopped working. The operator prometheus writer is generating these metrics DiskFreeBytes/DiskTotalBytes based on clickhouse metrics.

Do we need to update the writer to read correct metrics for versions 24?. We found this because grafana cluster dashboard Disk Space Free is not working.

// WriteSystemDisks writes system disks

SELECT *
FROM system.asynchronous_metrics
WHERE metric ILIKE '%disk%'
   ┌─metric─────────────────┬────────value─┬─description────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
1. │ DiskUnreserved_default │ 682223263744 │ Available bytes on the disk (virtual filesystem) without the reservations for merges, fetches, and moves. Remote filesystems may not provide this information. │
2. │ DiskUsed_default       │ 299826171904 │ Used bytes on the disk (virtual filesystem). Remote filesystems not always provide this information.                                                           │
3. │ DiskTotal_default      │ 982049435648 │ The total size in bytes of the disk (virtual filesystem). Remote filesystems may not provide this information.                                                 │
4. │ DiskAvailable_default  │ 682223263744 │ Available bytes on the disk (virtual filesystem). Remote filesystems may not provide this information.                                                         │
   └────────────────────────┴──────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Also other dashboards may be affected.

@Slach
Copy link
Collaborator

Slach commented Aug 14, 2024

check operator version 0.23.7
#1411

@Slach Slach closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants