Expand description
This module provides Rust-binding to prometheus remote storage protocol buffer definitions.
Go to docs.rs to see those binding types.
Modules§
- chunk
- Nested message and enum types in
Chunk. - 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§
- Chunk
- Chunk represents a TSDB chunk. Time range [min, max] is inclusive.
- Chunked
Read Response - 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.
- Chunked
Series - ChunkedSeries represents single, encoded time series.
- Exemplar
- Label
- Label
Matcher - Matcher specifies a rule, which can match or set of labels or not.
- Labels
- Metric
Metadata - Query
- Query
Result - Read
Hints - Read
Request - ReadRequest represents a remote read request.
- Read
Response - ReadResponse is a response when response_type equals SAMPLES.
- Sample
- Time
Series - TimeSeries represents samples and labels for a single time series.
- Write
Request
Enums§
Traits§
- Remote
Storage - Remote storage is Prometheus’s solution for long-term storage.