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
[Lens] Fix time shift bug #132000
[Lens] Fix time shift bug #132000
Conversation
@elasticmachine merge upstream |
💚 Build SucceededMetrics [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.
Code lgtm
(cherry picked from commit d6805f9)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Fixes #131889
The newly introduced
extendToTimeRange
setting does not work together with time shifts (because there is just a single date_histogram agg for all shifted time ranges - the extended bounds will work for the original non shifted time range and have a strange effect on all shifted time ranges:As there is no way to make extended bounds work with time shifts in the current setup, this PR is disabling extended bounds as soon as time shifts are present.