"Drives Free Inodes" widget from resource tag using incorrect prometheus metric "minio_cluster_drive_free_inodes"
streamvsriver opened this issue · 0 comments
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
Missing metric "Drives Free Inodes" from widget in minio console, as the console widget is using incorrect metric "minio_cluster_drive_free_inodes" which is not exposed in minio.
Expected Behavior
"Drives Free Inodes" widget from the Resource tag should have metric shown up.
Missing metric "Drives Free Inodes" widget should use the metrics "minio_node_drive_free_inodes"
Current Behavior
"Drives Free Inodes" widget shown blank metrics
Possible Solution
Change the metric reference of "minio_cluster_drive_free_inodes" to "minio_node_drive_free_inodes" in
Line 778 in 649c3d7
Steps to Reproduce (for bugs)
- Configured console server with external prometheus server source with env CONSOLE_PROMETHEUS_URL and CONSOLE_PROMETHEUS_JOB_ID
- Access the console web with log in and navigated to "Administrator" -> "Monitoring" -> "Metrics" -> "Resources" tags
- check "Drives Free Inodes" widget that shown no metrics
Context
Tried to integrate external prometheus source for minio console metric page, but noticed the "Drives Free Inodes" not able to show any metrics
Regression
Yes
Your Environment
- MinIO version used (
minio --version
): 2024-02-24T17:11:14Z - Server setup and configuration: single pool with 4 node, deployed via minio operator 5.0.12
- Operating System and version (
uname -a
): - Linux minio-preprod-ss-3-a-0 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 17:09:15 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux