package prometheus

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message BucketSpan

types.proto:120

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).

Used in: Histogram

message Chunk

types.proto:169

Chunk represents a TSDB chunk. Time range [min, max] is inclusive.

Used in: ChunkedSeries

enum Chunk.Encoding

types.proto:174

We require this to match chunkenc.Encoding.

Used in: Chunk

message ChunkedReadResponse

remote.proto:87

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.

message ChunkedSeries

types.proto:184

ChunkedSeries represents single, encoded time series.

Used in: ChunkedReadResponse

message Exemplar

types.proto:51

Used in: TimeSeries

message Histogram

types.proto:66

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.

Used in: TimeSeries

enum Histogram.ResetHint

types.proto:67

Used in: Histogram

message Label

types.proto:135

Used in: ChunkedSeries, Exemplar, Labels, TimeSeries

message LabelMatcher

types.proto:145

Matcher specifies a rule, which can match or set of labels or not.

Used in: Query

enum LabelMatcher.Type

types.proto:146

Used in: LabelMatcher

message Labels

types.proto:140

message MetricMetadata

types.proto:24

Used in: WriteRequest

enum MetricMetadata.MetricType

types.proto:25

Used in: MetricMetadata

message Query

remote.proto:71

Used in: ReadRequest

message QueryResult

remote.proto:78

Used in: ReadResponse

message ReadHints

types.proto:157

Used in: Query

message ReadRequest

remote.proto:35

ReadRequest represents a remote read request.

enum ReadRequest.ResponseType

remote.proto:38

Used in: ReadRequest

message ReadResponse

remote.proto:66

ReadResponse is a response when response_type equals SAMPLES.

message Sample

types.proto:44

Used in: TimeSeries

message TimeSeries

types.proto:126

TimeSeries represents samples and labels for a single time series.

Used in: QueryResult, WriteRequest

message WriteRequest

remote.proto:26