prometheus/promql
Filip Petkovski 3e6155e596
Use CopyTo when resetting histogram in stats iterator
The histogram stats iterator does not fully clear the histogram object
and is not resilient to new fields being added to the histogram type.

To resolve the issue, the commit uses the CopyTo methods which should
be future proof to new fields being added.

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2024-07-31 11:18:47 +02:00
..
fuzz-data
parser promqltest: add support for setting counter reset hint on histogram samples (#14537) 2024-07-31 09:53:05 +02:00
promqltest Merge pull request #14464 from prometheus/beorn7/histogram 2024-07-17 14:57:46 +02:00
bench_test.go feat: add limitk() and limit_ratio() operators (#12503) 2024-07-03 22:18:57 +02:00
engine.go Fix decoding buckets for native histograms in binops 2024-07-10 11:55:29 +02:00
engine_internal_test.go
engine_test.go feat: add Google cloud roundtripper for remote write (#14346) 2024-07-30 16:25:19 +01:00
functions.go Merge pull request #14362 from charleskorn/charleskorn/sum-infinity 2024-07-03 01:05:03 -04:00
functions_internal_test.go Fix issue where summation of +/- infinity returns NaN instead of infinity 2024-06-28 11:26:54 +10:00
functions_test.go
fuzz.go
fuzz_test.go
histogram_stats_iterator.go Use CopyTo when resetting histogram in stats iterator 2024-07-31 11:18:47 +02:00
histogram_stats_iterator_test.go Add more test cases 2024-07-29 14:53:32 +02:00
promql_test.go feat: add limitk() and limit_ratio() operators (#12503) 2024-07-03 22:18:57 +02:00
quantile.go
quantile_test.go
query_logger.go
query_logger_test.go
value.go
value_test.go