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

for numbers close to 0, change detection graph shows "0.00" only #2140

Open
jhutar opened this issue Oct 30, 2024 · 2 comments
Open

for numbers close to 0, change detection graph shows "0.00" only #2140

jhutar opened this issue Oct 30, 2024 · 2 comments
Labels
area/UI type/bug Something isn't working type/enhancement An enhancement to an existing feature

Comments

@jhutar
Copy link

jhutar commented Oct 30, 2024

Describe the bug

For numbers close to 0 (like "0.002591004064042079"), change detection graph shows "0.00" only.

image

To Reproduce

Check .measurements.etcd_request_duration_seconds_average.mean graph on https://horreum.corp.redhat.com/test/254?fingerprint=%7B%22.metadata.env.JOB_NAME%22%3A%22periodic-ci-konflux-ci-e2e-tests-main-load-test-ci-daily-100u%22%7D

Version

Current on Prod

Browser

firefox-130.0.1-1.fc40.x86_64

@jhutar jhutar added the type/bug Something isn't working label Oct 30, 2024
@lampajr
Copy link
Member

lampajr commented Oct 30, 2024

The solution I could see here is to display the whole number (with all decimals) but I am not sure that is something all users may want.

Alternatively, we could consider displaying until the first 2 non null decimals, e.g., in you example it would be 0.0025.
What do you think @willr3 @johnaohara? @jhutar is this something that would fit your use case?

@lampajr lampajr added type/enhancement An enhancement to an existing feature area/UI labels Oct 30, 2024
@jhutar
Copy link
Author

jhutar commented Oct 31, 2024

Hello @lampajr ! I agree with your second idea which matches what I was thinking about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/UI type/bug Something isn't working type/enhancement An enhancement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants