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

Prometheus range BETWEEN_1024B_AND_1_MB inconsistent with web console looking for BETWEEN_1024_B_AND_1_MB #3257

Open
barryp opened this issue Mar 7, 2024 · 0 comments
Assignees

Comments

@barryp
Copy link

barryp commented Mar 7, 2024

NOTE

If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.

The Web console, under Monitoring/Metrics/Object Size Distribution shows 0 for "Between 1024B and 1MB" while looking directly in Prometheus I see the expected value

minio_cluster_objects_size_distribution{instance="storage-1:9000", job="my-storage", range="BETWEEN_1024B_AND_1_MB", server="storage-1:9000"}
	29925

Expected Behavior

The web console should display 29925

Current Behavior

The web console displays 0

Possible Solution

Commit #dc13122531f4eae4cc4aaf591e9db26f9940dfeb added the new range

BETWEEN_1024B_AND_1_MB

which is inconsistent with all the other ranges in that there is no underscore between the number '1024' and the unit 'B'

in the console it seems to be looking for

BETWEEN_1024_B_AND_1_MB

I'd think either the console has to change to look for what minio is reporting, or minio should change for consistency and to report what the console is expecting.

Steps to Reproduce (for bugs)

  1. Upload a file sized greater then 1024 bytes and < 1 megabyte
  2. Check the web console and see a 0 value on the "Between 1024B and 1MB" bin

Context

Just checking out server usage

Regression

Your Environment

  • Version used (minio --version): minio version RELEASE.2024-03-05T04-48-44Z (commit-id=1b5f28e99b145b0e3a5d99d1801a9b5cbfbdb091)
  • Server setup and configuration: 3 node cluster
  • Operating System and version (uname -a): Linux storage-1 5.15.0-97-generic
@harshavardhana harshavardhana transferred this issue from minio/minio Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants