A BucketSpan defines a number of consecutive buckets with their
offset. Logically, it would be more straightforward to include the
bucket counts in the Span. However, the protobuf representation is
more compact in the way the data is structured here (with all the
buckets in a single array separate from the Spans).
ChunkedReadResponse is a response when response_type equals STREAMED_XOR_CHUNKS.
We strictly stream full series after series, optionally split by time. This means that a single frame can contain
partition of the single series, but once a new series is started to be streamed it means that no more chunks will
be sent for previous one. Series are returned sorted in the same way TSDB block are internally.
A native histogram, also known as a sparse histogram.
Original design doc:
https://docs.google.com/document/d/1cLNv3aufPZb3fNfaJgdaRBZsInZKKIHo9E6HinJVbpM/edit
The appendix of this design doc also explains the concept of float
histograms. This Histogram message can represent both, the usual
integer histogram as well as a float histogram.