Commit Graph

70 Commits (a1c2f59bc577465e8b46b9cca6dca61ec7ecffe8)

Author SHA1 Message Date
Charles Korn 6dbb4e1a94
Fix linting issues 1 year ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868) 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
Jeanette Tan 9adc1699c3 fix according to code review 2 years ago
zenador 545a7e48f9
[nhcb branch] Enhance unit test framework for nhcb and warnings (#14009) 2 years ago
zenador 4acbb7dea6
Add custom buckets to native histogram chunks encoding (#13706) 2 years ago
György Krajcsovits 5d0a0a7542 Add custom buckets to native histogram model (#13592) 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
Linas Medziunas bd895baefc FloatHistogram.Add/Sub: handle any schema change 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
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
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614) 2 years ago
Ziqi Zhao de172049ab fix lint error 2 years ago
Ziqi Zhao d3633d4e76
Update model/histogram/float_histogram.go 2 years ago
Ziqi Zhao 893f97556f use switch instead of if-else to fix lint error 2 years ago
Ziqi Zhao 788061e509 remove unused addBucket function 2 years ago
Ziqi Zhao eab3c93e80 make code ready for review 2 years ago
Ziqi Zhao 4787c879bc add more elaborate benchmark test 2 years ago
Ziqi Zhao bf880a6e77 enhance floathistogram add and sub method 2 years ago
Ziqi Zhao ed1b307bca
enhance FloatHistogram CopyToSchema method (#12596) 2 years ago
beorn7 9aadd54786 histogram: Fix bounds of buckets returned by floatBucketIterator 2 years ago
cui fliter 096ceca44f
remove repetitive words (#12556) 2 years ago
Ziqi Zhao 42d9169ba1 enhance histogram_quantile to get min/max value 2 years ago
Carrie Edwards a462f7fa21 Add function for iterating through all buckets in reverse to find max bucket 2 years ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262) 3 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch` 3 years ago
Trevor Whitney e3513d1dd2
Change nested ifs to a switch 3 years ago
Trevor Whitney b4e324f637
Handle valid cases of mismatched hints when adding 3 years ago
Trevor Whitney dd94ebb87b
promql: set CounterResetHint after rate and sum 3 years ago
Ganesh Vernekar a87e7e9e33
tsdb: Add counter reset hint to histograms and support in WAL 3 years ago