root/src/bundle.proto

Revision a423b8a0d70a420968798dd0e5ff4dc20c963419, 0.6 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 3 years ago)

add in the metadata as we originally discussed (for future)

  • Property mode set to 100644
Line 
1 message Metric
2 {
3   required string name = 1;
4   required int32 metricType = 2;
5   optional double valueDbl = 3;
6   optional int64 valueI64 = 4;
7   optional uint64 valueUI64 = 5;
8   optional int32 valueI32 = 6;
9   optional uint32 valueUI32 = 7;
10   optional string valueStr = 8;
11 }
12
13 message Status
14 {
15   required int32 available = 1;
16   required int32 state = 2;
17   required int32 duration = 3;
18   required string status = 4;
19 }
20
21 message Metadata
22 {
23   required string key = 1;
24   required string value = 2;
25 }
26
27 message Bundle
28 {
29   optional Status status = 1;
30   repeated Metric metrics = 2;
31   repeated Metadata metadata = 3;
32 }
33
Note: See TracBrowser for help on using the browser.