Commit Graph

286 Commits (d1d80b8bede5dfd00a1c42f4ad08ec72343594c2)

Author SHA1 Message Date
Arthur Silva Sens 5082655392
Append Created Timestamps (#12733) 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
Bryan Boreham f0e1b592ab Scraping: use slices.sort for exemplars 2 years ago
Bryan Boreham a3e02f35d6 labels: extract common code between slice and stringlabels 2 years ago
zenador 32ee1b15de
Fix error on ingesting out-of-order exemplars (#13021) 2 years ago
Bryan Boreham 1bfb3ed062
Labels: reduce allocations when creating from TSDB WAL (#13044) 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
Matthieu MOREL fe057fc60d use Go standard errors package 2 years ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments 2 years ago
beorn7 b428416f06 textparse: Update comment about timestamp_ms protobuf parsing 2 years ago
Arthur Silva Sens ef8e6ae780
Parse created timestamps from Prometheus Protobuf (#12973) 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
Matthieu MOREL 0a513f827d ci(lint): enable errorlint linter on model 2 years ago
Julien Pivotto c52db2b196 Remove duplicate tests 2 years ago
johncming 5d68ebb207 pkg/rulefmt: fix bug of validate. 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
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650) 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
beorn7 65ccf4460a textparse: Fix endless loop #12731 2 years ago
beorn7 3d9a830f2f textparse: Expose #12731 in protobufparse_test.go 2 years ago
György Krajcsovits e846736134 Fix typo 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
Bryan Boreham ce260b1fe1 labels: remove some unused code 2 years ago