Module remote_write

Source

Modules§

chunk
Nested message and enum types in Chunk.
histogram
Nested message and enum types in Histogram.
label_matcher
Nested message and enum types in LabelMatcher.
metric_metadata
Nested message and enum types in MetricMetadata.
read_request
Nested message and enum types in ReadRequest.

Structs§

BucketSpan
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).
Chunk
Chunk represents a TSDB chunk. Time range [min, max] is inclusive.
ChunkedReadResponse
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.
ChunkedSeries
ChunkedSeries represents single, encoded time series.
Exemplar
Histogram
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.
Label
LabelMatcher
Matcher specifies a rule, which can match or set of labels or not.
Labels
MetricMetadata
Query
QueryResult
ReadHints
ReadRequest
ReadRequest represents a remote read request.
ReadResponse
ReadResponse is a response when response_type equals SAMPLES.
Sample
TimeSeries
TimeSeries represents samples and labels for a single time series.
WriteRequest