prometheus/tsdb/chunkenc
Dieter Plaetinck 4d27816ea5
Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015)
* factor out different varbit schemes and include Beorn's "optimum" for buckets

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

* use more compact dod encoding scheme for SHS chunk columns

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

* remove FB VB and xor dod encoding because we won't use it

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

* HistoChunk metadata encoding

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

* add SparseHistogram.Copy()

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

* histogram test: test appending a few histograms

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

* add license headers

Signed-off-by: Dieter Plaetinck <dieter@grafana.com>
2021-06-30 16:15:43 +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 Append sparse histograms into the Head block (#9013) 2021-06-29 20:08:46 +05:30
chunk_test.go Testify: move to require (#8122) 2020-10-29 09:43:23 +00:00
histo.go Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015) 2021-06-30 16:15:43 +05:30
histo_meta.go Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015) 2021-06-30 16:15:43 +05:30
histo_test.go Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015) 2021-06-30 16:15:43 +05:30
varbit_buckets.go Sparsehistogram: improve dod encoding, testing, encode chunk metadata (#9015) 2021-06-30 16:15:43 +05:30
xor.go Append sparse histograms into the Head block (#9013) 2021-06-29 20:08:46 +05:30