prometheus/tsdb/chunkenc
Dieter Plaetinck 6c13375ac8
sparsehistogram recoding upon detection that new buckets have appeared (#9030)
* bucketIterator which returns all valid bucket indices for a []span

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* support for comparing []spans and generating interjections

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* add license header

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* assert order fix

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* handle pathological 0-length span case more gracefully

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* stale todo

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* decode-recode histograms when new buckets appear

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* factor out recoding and also add it to the fallback case

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>

* make linter happy

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>
2021-07-02 11:50:30 +05:30
..
bstream.go Cleanup bstream_test.go based on post-merge feedback received on #7390 (#7413) 2020-06-18 14:49:39 +05:30
bstream_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
chunk.go Query histograms from TSDB and unit test for append+query (#9022) 2021-06-30 20:18:13 +05:30
chunk_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
histo.go sparsehistogram recoding upon detection that new buckets have appeared (#9030) 2021-07-02 11:50:30 +05:30
histo_meta.go sparsehistogram recoding upon detection that new buckets have appeared (#9030) 2021-07-02 11:50:30 +05:30
histo_meta_test.go sparsehistogram recoding upon detection that new buckets have appeared (#9030) 2021-07-02 11:50:30 +05:30
histo_test.go sparsehistogram recoding upon detection that new buckets have appeared (#9030) 2021-07-02 11:50:30 +05:30
varbit_buckets.go Fix a few trivial style nits 2021-07-01 17:11:54 +02:00
xor.go Query histograms from TSDB and unit test for append+query (#9022) 2021-06-30 20:18:13 +05:30