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

[ML] Fix check for too many selected buckets in Anomaly Explorer charts #96771

Conversation

peteharverson
Copy link
Contributor

Summary

Fixes the check used for displaying the 'too many buckets selected' warning on the charts in the Anomaly Explorer.

Edits the check to use the start of the latest bucket selected in the swim lane when comparing against the chart x-axis maximum.

Before (warning icon is incorrectly displayed even though the 6 days worth of points (144 points) plotted in the chart is well below the max allowed (500 points):
image

After:
image

Fixes #95166

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 6.0MB 6.0MB +238.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @peteharverson

@qn895
Copy link
Member

qn895 commented Apr 12, 2021

Tested and LGTM

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and compared against master, LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ML] Anomaly explorer charts incorrectly show too many buckets warning
5 participants