-
Notifications
You must be signed in to change notification settings - Fork 543
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Streaming PromQL engine: native histograms (#8121)
* Streaming PromQL engine: native histograms Add native histogram support to instant vectors. * Use seriesPerResultBucketFactor for histogram pool * Don't defer returning slices * Refactor slice returning logic * Move returnSlices helper * rename val for consistency * Update comment from feedback * Use returnSeriesDataSlices where missed * Comment out unsupported tests for now * Enable upstream native_histogram test file * Remove duplicate test * Fix FloatHistogram selector * Add range test * Add test for mixed floats+histograms * Re-enable supported upstream tests * Load benchmark samples in batches to avoid OOM'ing * Revert "Load benchmark samples in batches to avoid OOM'ing" We can't use OOO samples with native histograms, so instead of batching by series we'll batch by samples This reverts commit 91ba5c1. * Batch by samples instead of series * Generate native histogram benchmark test data * Add native histogram benchmark test * Move compare.sh next to other benchmark scripts * Fix comparison tests for when there are no floats * Add extra samples to the histogram tests * Add note on batch size * Add quick check that histograms are loaded * Use clearer variables for indexes * Update changelog * Fix typo
- Loading branch information
Showing
12 changed files
with
519 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.