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

Very small percentage value incorrectly displayed as NaN% in aggregation #21185

Open
coffee-squirrel opened this issue Dec 13, 2024 · 1 comment

Comments

@coffee-squirrel
Copy link

Expected Behavior

Percentages should always be numeric, and extremely small percentages should be some formatting of zero.

Current Behavior

When putting together an aggregation where a certain value was essentially 0% (2.744906525058769E-8), it was displayed as NaN%.

Image

Steps to Reproduce (for bugs)

  1. Have an aggregation with percentages included, where one of the values is essentially zero
  2. Note NaN% for the value with a very small percentage

Context

Not a major issue, but this seems likely to show up whenever there are major outliers / edge cases.

Your Environment

  • Graylog Version: 6.1.4
  • Browser version: Firefox 133
@dennisoelkers
Copy link
Member

Thanks for reporting this, @coffee-squirrel! We will take care of this.

@kmerz kmerz added the triaged label Dec 16, 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

3 participants