blob: dfde254e1391dddf1d55c4601b239baba88babb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
syntax = "proto3";
package prometheus;
option cc_enable_arenas = true;
import "google/protobuf/descriptor.proto";
message WriteRequest {
repeated TimeSeries timeseries = 1 [(nullable) = false];
}
message TimeSeries {
repeated Label labels = 1 [(nullable) = false];
repeated Sample samples = 2 [(nullable) = false];
}
message Label {
string name = 1;
string value = 2;
}
message Sample {
double value = 1;
int64 timestamp = 2;
}
extend google.protobuf.FieldOptions {
bool nullable = 65001;
}
|