-
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.
Distributor: remove samples with duplicated timestamps within a singl…
…e timeseries (#10145) * Distributor: remove samples with duplicated timestamps within a single timeseries Signed-off-by: Yuri Nikolic <[email protected]> * Making lint happy Signed-off-by: Yuri Nikolic <[email protected]> * Include removal of samples with duplicated timestamp in validateSeries() Signed-off-by: Yuri Nikolic <[email protected]> * Making lint happy Signed-off-by: Yuri Nikolic <[email protected]> * Adding benchmarks Signed-off-by: Yuri Nikolic <[email protected]> * Making lint happy Signed-off-by: Yuri Nikolic <[email protected]> * Improve sample removal Signed-off-by: Yuri Nikolic <[email protected]> * Improve benchmarks Signed-off-by: Yuri Nikolic <[email protected]> * Fixing review findings Signed-off-by: Yuri Nikolic <[email protected]> * Fixing tests Signed-off-by: Yuri Nikolic <[email protected]> * Fixing benchmarks Signed-off-by: Yuri Nikolic <[email protected]> * Fixing benchmarks Signed-off-by: Yuri Nikolic <[email protected]> * Fixing review findings Signed-off-by: Yuri Nikolic <[email protected]> * Remove big benchmarks * Use RemoveSliceIndexes Signed-off-by: Yuri Nikolic <[email protected]> * Initialize removeIndexes within validateXxx methods Signed-off-by: Yuri Nikolic <[email protected]> * Copy element by element Signed-off-by: Yuri Nikolic <[email protected]> * Replace h with ts.Histogram[idx] Signed-off-by: Yuri Nikolic <[email protected]> * Fix validateHistogram() when size is 1 Signed-off-by: Yuri Nikolic <[email protected]> * Fixing review findings Signed-off-by: Yuri Nikolic <[email protected]> --------- Signed-off-by: Yuri Nikolic <[email protected]>
- Loading branch information
1 parent
2640b8f
commit 6dcd7a3
Showing
7 changed files
with
454 additions
and
54 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
Oops, something went wrong.