-
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
[TSVB] Change "Drop last bucket" to "Drop partial bucket" #14681
Comments
Woudl also be good to add it to the first bucket |
- Adds timerange data mode for table, guage, metric and top n - Changes query for metric style vis to only query last 5 buckets unless there is a sibling agg - Request and response are now included in api response - Fixed table header EUI upgrade - Fixed wrapping for top n - Fixing tests - Fixes #14681 - Change the behavior of drop last bucket to drop partial bucket - Move index pattern out of panel options; adding info component - Removing panel property from AggSelect - Defaulting to EUI standards for code style - Updating modal to EUI writing guidlines - Renaming functions to be more clear - Adding date math since yarn was complaining - Fixin the logic for truncated timerange - Fixing outdated tests - Adjusting tests to new feature - Updating to latest EUI
- Adds timerange data mode for table, guage, metric and top n - Changes query for metric style vis to only query last 5 buckets unless there is a sibling agg - Request and response are now included in api response - Fixed table header EUI upgrade - Fixed wrapping for top n - Fixing tests - Fixes elastic#14681 - Change the behavior of drop last bucket to drop partial bucket - Move index pattern out of panel options; adding info component - Removing panel property from AggSelect - Defaulting to EUI standards for code style - Updating modal to EUI writing guidlines - Renaming functions to be more clear - Adding date math since yarn was complaining - Fixin the logic for truncated timerange - Fixing outdated tests - Adjusting tests to new feature - Updating to latest EUI
will this happen? |
I'm also affected by this. A fix would be much appreciated. |
@ghudgins Is there any chance this issue could be considered for a bugfix release? I am confident it has been affecting TSVB users all around but since it's transient it is likely hard to report. It makes some TSVB time series visualizations look buggy depending on the momentary time bucket results. It is pretty easy to reproduce, here's an example (on 7.17.1): After a reload, using the same timerange (last 3 hours) only a few seconds later: The visualization is a derivative on sum of counters, using a fixed 1m interval. Unsure if there could be something else lurking around causing this behavior though. |
Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner. |
Currently in TSVB's Panel Options, there is an option to "Drop last bucket" which defaults to true/yes. Chatting with @simianhacker the intent behind this option was to drop partial buckets.
I think we can make the UX a bit better by exposing this intent directly, by changing the text to "Drop partial bucket" instead. Then the implementation could actually figure out if the last bucket was a partial bucket (with some date math and comparing the bucket's upper bound to the time picker's upper bound) and drop it if the user wants.
The text was updated successfully, but these errors were encountered: