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

[TSVB] Fix annotation bounds bug #128242

Merged
merged 3 commits into from
Mar 24, 2022

Conversation

flash1293
Copy link
Contributor

@flash1293 flash1293 commented Mar 22, 2022

Fixes #128167

#125222 switched the annotation fetching to use the panel interval. However the annotations request would subtract the length of the interval from the end of the time range which can now cause bounds with a higher min than max in case the configured panel interval is larger than the current time range.

I can't see a reason for changing the provided time range for the request, it's not something we are doing for the data series:

This behavior has been in there from the start - @simianhacker do you still know by any chance what that's related to? I tried to break it somehow without subtracting one interval length from the end of the time range but didn't manage to do so.
4f3e625

@flash1293 flash1293 added Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure backport:skip This commit does not require backporting v8.2.0 labels Mar 22, 2022
@flash1293 flash1293 marked this pull request as ready for review March 22, 2022 11:41
@flash1293 flash1293 requested a review from a team as a code owner March 22, 2022 11:41
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

Copy link
Contributor

@mbondyra mbondyra left a comment

Choose a reason for hiding this comment

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

Tested on Chrome and it is working as expected. Not sure if there are some implications of this change though so hopefully we'll receive an answer from @simianhacker :)

@flash1293
Copy link
Contributor Author

Going forward with merging this - feel free to reach out later @simianhacker in case we should adjust this!

@flash1293 flash1293 merged commit e451d39 into elastic:main Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Display a better error message for extended bounds min cannot be greater than extended bounds max
4 participants