-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Fix auto interval filter building #102086
Conversation
Pinging @elastic/kibana-app-services (Team:AppServices) |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, LGTM 👍
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Fixes #91481
The
interval
param of a histogram agg can be"auto"
as well - in this case building the filter won't work. The correct value is stored inused_interval
if the agg has been used to actually fetch data. This PR makes sure to use this information if available.Can be reproduced in Visualize - create a bar chart with an auto number histogram on the x axis and click a bar.