-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Round start and end values #89030
Merged
Merged
Round start and end values #89030
Commits on Jan 21, 2021
-
When getting the start and end times, use the d3 time scale `ticks` function to round the start and end times. Example from a query: Before: ```json { "range": { "@timestamp": { "gte": 1611262874814, "lte": 1611263774814, "format": "epoch_millis" } } }, ``` After: ```json { "range": { "@timestamp": { "gte": 1611263040000, "lte": 1611263880000, "format": "epoch_millis" } } }, ``` The `ticks` function makes it so the amount of rounding is proportional to the size of the time range, so shorter time ranges will be rounded less. Also fix a bug where invalid ranges in the query string were not handled correctly. Fixes elastic#84530.
Configuration menu - View commit details
-
Copy full SHA for a83ebd2 - Browse repository at this point
Copy the full SHA a83ebd2View commit details
Commits on Jan 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0c6021d - Browse repository at this point
Copy the full SHA 0c6021dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a9635d - Browse repository at this point
Copy the full SHA 3a9635dView commit details
Commits on Jan 26, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ba1a4b7 - Browse repository at this point
Copy the full SHA ba1a4b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c8556f - Browse repository at this point
Copy the full SHA 0c8556fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11dec6e - Browse repository at this point
Copy the full SHA 11dec6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b448d2 - Browse repository at this point
Copy the full SHA 6b448d2View commit details
Commits on Jan 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f7394c6 - Browse repository at this point
Copy the full SHA f7394c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f10a3fa - Browse repository at this point
Copy the full SHA f10a3faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7af8a39 - Browse repository at this point
Copy the full SHA 7af8a39View commit details
Commits on Feb 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 874f943 - Browse repository at this point
Copy the full SHA 874f943View commit details
Commits on Feb 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 378c08f - Browse repository at this point
Copy the full SHA 378c08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5367efa - Browse repository at this point
Copy the full SHA 5367efaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.