-
Notifications
You must be signed in to change notification settings - Fork 0
/
pipeline_msg.proto
54 lines (42 loc) · 908 Bytes
/
pipeline_msg.proto
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
syntax = "proto3";
package pipeline_msg;
import "google/protobuf/timestamp.proto";
message ProtobufPipelineMessage {
int32 version = 1;
string producer_id = 2;
google.protobuf.Timestamp timestamp = 3;
string product = 4;
string team = 5;
string service = 6;
enum Vertical {
is24 = 0;
as24 = 1;
s24 = 2;
}
Vertical vertical = 7;
enum LogLevel {
TRACE = 0;
DEBUG = 1;
INFO = 2;
WARN = 3;
ERROR = 4;
FATAL = 5;
}
LogLevel log_level = 8;
string log_msg = 9;
message Field {
string key = 1;
string value = 2;
}
repeated Field fields = 10;
enum MetricType {
COUNTER = 0;
GAUGE = 1;
}
message Metric {
string key = 1;
double value = 2;
MetricType type = 3;
}
repeated Metric metrics = 11;
}