Commit Graph

100 Commits (bwplotka-patch-3)

Author SHA1 Message Date
Joel Beckmeyer bdace97744 fix TestCuttingNewHeadChunks/really_large_histograms on 32-bit 1 year ago
Matthieu MOREL af1a19fc78 enable errorf rule from perfsprint linter 1 year ago
Neeraj Gartia d4b1f9eb33
Corrects the behaviour of binary opperators between histogram and float (#14726) 1 year ago
Charles Korn 6dbb4e1a94
Fix linting issues 1 year ago
Björn Rabenstein 1639450172 Merge pull request #14821 from charleskorn/nh-negative-multiplication-division 1 year ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868) 1 year ago
Charles Korn e8c7482137
Return negative counts when multiplied or divided by a negative value 1 year ago
Charles Korn e67358d203
histogram: include counter reset hint in test expression output 1 year ago
Ziqi Zhao c7c4a5c347 add helper function to compare native histograms in testing 1 year ago
Ziqi Zhao 8f828d45c1 convert TestNativeHistogram_Sum_Count_Add_AvgOperator into testing framework 1 year ago
György Krajcsovits 505ffd34ef Fix lint error 2 years ago
George Krajcsovits f45709e710
Update model/histogram/histogram_test.go 2 years ago
Jeanette Tan 5e4e93c316 fix lint 2 years ago
Jeanette Tan 9adc1699c3 fix according to code review 2 years ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code 2 years ago
zenador 545a7e48f9
[nhcb branch] Enhance unit test framework for nhcb and warnings (#14009) 2 years ago
zenador 81862aabd7
[nhcb branch] Add basic unit tests for native histograms with custom buckets converted from classic histograms (#13794) 2 years ago
zenador 4acbb7dea6
Add custom buckets to native histogram chunks encoding (#13706) 2 years ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21 2 years ago
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592) 2 years ago
tyltr 084420b837 chore:fix typo 2 years ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340) 2 years ago
zenador a3ddfbd1ee
Add warnings for histogramRate applied with isCounter not matching counter/gauge histogram (#13392) 2 years ago
tyltr 1fa131ee03
fix slice copy in 1.20 (#13389) 2 years ago
Filip Petkovski 9008271df5
Use cap to determine slice capacity 2 years ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types 2 years ago
Linas Medziunas bd895baefc FloatHistogram.Add/Sub: handle any schema change 2 years ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 2 years ago
Arve Knudsen 237bfea46b `chunks.Reader`: Fix typo in ChunkOrIterable doc string. 2 years ago
Oleksandr Redko 2a75604f8e
Enable default revive rules (#13068) 2 years ago
Linas Medziunas 048886ae8a Histograms: optimize floatBucketIterator for common case 2 years ago
Linas Medziunas 49613823f8 Reuse slices in [Float]Histogram.ReduceResolution 2 years ago
Linas Medziunas f99ecc376e Fix FloatHistogram.Add/Sub mutating its argument 2 years ago
Linas Medziunas ea1862aab4 Explicit schema check in [Float]Histogram.ReduceResolution 2 years ago
Ziqi Zhao e250f09b5d
change origin schema in `ReduceResolution` method of histogram and float histogram (#13116) 2 years ago
Ziqi Zhao ab2a7bb74f
add generic shrink function (#13001) 2 years ago
Matthieu MOREL 05fba53e57 web : use Go standard package 2 years ago
Linas Medziunas ebed7d0612 Change Validate to be a method on histogram structs 2 years ago
Linas Medziunas 1f8aea11d6 Move histogram validation code to model/histogram 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
Marc Tuduri 1ce066e51c
More periods 2 years ago
Marc Tuduri af7c31ee10
PR feedback 2 years ago
Marc Tuduri 8fededf6ad
promql(histograms): Change sample total calculation for histograms 2 years ago
Linas Medziunas 62bbb81e29 Mention bucket values in the comment 2 years ago
Linas Medziunas ec823d9daf Update comments, bitwise comparison of float buckets 2 years ago
Linas Medziunas c5c5c569fa Histogram performance: optimize floatBucketIterator 2 years ago
Linas Medziunas 3c047a3518 Expand docs comments 2 years ago
Linas Medziunas dfb6292600 Compare FloatHistogram.[Zero]Count float values as binary 2 years ago
Linas Medziunas cbd01fc296 Fix NaN sum check in [Float]Histogram.Equals method 2 years ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668) 2 years ago