Module prom_remote_api::types

source ·

Modules

Nested message and enum types in Chunk.
Nested message and enum types in LabelMatcher.
Nested message and enum types in MetricMetadata.
Nested message and enum types in ReadRequest.

Structs

Chunk represents a TSDB chunk. Time range [min, max] is inclusive.
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 represents single, encoded time series.
Matcher specifies a rule, which can match or set of labels or not.
ReadRequest represents a remote read request.
ReadResponse is a response when response_type equals SAMPLES.
TimeSeries represents samples and labels for a single time series.

Enums

Traits

Remote storage is Prometheus’s solution for long-term storage.

Type Definitions