Commit Graph

61 Commits (7e2c6fc8f3e0e42927325bdac623ea848575a66e)

Author SHA1 Message Date
Ziqi Zhao e250f09b5d
change origin schema in `ReduceResolution` method of histogram and float histogram (#13116)
1 year ago
Ziqi Zhao ab2a7bb74f
add generic shrink function (#13001)
1 year ago
Matthieu MOREL 05fba53e57 web : use Go standard package
1 year ago
Linas Medziunas ebed7d0612 Change Validate to be a method on histogram structs
1 year ago
Linas Medziunas 1f8aea11d6 Move histogram validation code to model/histogram
1 year ago
Björn Rabenstein fae4561369
Merge pull request #12954 from linasm/linasm/optimize-floatBucketIterator2
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Linas Medžiūnas e3e22abadb
Merge branch 'main' into linasm/optimize-floatBucketIterator2
1 year ago
Marc Tuduri 1ce066e51c
More periods
1 year ago
Marc Tuduri af7c31ee10
PR feedback
1 year ago
Marc Tuduri 8fededf6ad
promql(histograms): Change sample total calculation for histograms
1 year ago
Linas Medziunas 62bbb81e29 Mention bucket values in the comment
1 year ago
Linas Medziunas ec823d9daf Update comments, bitwise comparison of float buckets
1 year ago
Linas Medziunas c5c5c569fa Histogram performance: optimize floatBucketIterator
1 year ago
Linas Medziunas 3c047a3518 Expand docs comments
1 year ago
Linas Medziunas dfb6292600 Compare FloatHistogram.[Zero]Count float values as binary
1 year ago
Linas Medziunas cbd01fc296 Fix NaN sum check in [Float]Histogram.Equals method
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
zenador 54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions (#12614)
1 year ago
Ziqi Zhao de172049ab fix lint error
1 year ago
Ziqi Zhao d3633d4e76
Update model/histogram/float_histogram.go
1 year ago
Ziqi Zhao 893f97556f use switch instead of if-else to fix lint error
1 year ago
Ziqi Zhao 788061e509 remove unused addBucket function
1 year ago
Ziqi Zhao eab3c93e80 make code ready for review
1 year ago
Ziqi Zhao 4787c879bc add more elaborate benchmark test
1 year ago
Ziqi Zhao bf880a6e77 enhance floathistogram add and sub method
1 year ago
Ziqi Zhao ed1b307bca
enhance FloatHistogram CopyToSchema method (#12596)
1 year ago
beorn7 9aadd54786 histogram: Fix bounds of buckets returned by floatBucketIterator
1 year ago
cui fliter 096ceca44f
remove repetitive words (#12556)
1 year ago
Ziqi Zhao 42d9169ba1 enhance histogram_quantile to get min/max value
1 year ago
Carrie Edwards a462f7fa21 Add function for iterating through all buckets in reverse to find max bucket
1 year ago
zenador 191bf9055b
Handle more arithmetic operators for native histograms (#12262)
2 years ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
Trevor Whitney e3513d1dd2
Change nested ifs to a switch
2 years ago
Trevor Whitney b4e324f637
Handle valid cases of mismatched hints when adding
2 years ago
Trevor Whitney dd94ebb87b
promql: set CounterResetHint after rate and sum
2 years ago
Ganesh Vernekar a87e7e9e33
tsdb: Add counter reset hint to histograms and support in WAL
2 years ago
Marc Tudurí 9474610baf
Support FloatHistogram in TSDB (#11522)
2 years ago
beorn7 bf0847073d histogram: Modify getBound to deal properly with infinity
2 years ago
Björn Rabenstein dccfb9db4e
histogram: Remove code replication via generics (#11361)
2 years ago
beorn7 a7c519930e histograms: Add Compact method to the normal integer Histogram
2 years ago
Ganesh Vernekar 2474c6fb2c
Error on amending histograms on append (#11308)
2 years ago
beorn7 2d233cf95e Histogram: Fix allFloatBucketIterator
3 years ago
beorn7 56db51c826 Histgram: Fix Compact for spans of only empty buckets
3 years ago
beorn7 15583af9bb Histogram: Fix crash when compacting only empty buckets
3 years ago
beorn7 08efde4de5 Adjust to newest gofumpt
3 years ago
beorn7 f9c411604d Fix spelling errors
3 years ago
beorn7 9fbcf14e5c histogram: Handle changes of the ZeroThreshold and the Schema
3 years ago
Björn Rabenstein ec80745884
Merge pull request #10075 from prometheus/beorn7/histogram
3 years ago
beorn7 3b4d6c3fdb model: Implement FloatHistogram.Compact
3 years ago