root/src/bundle.proto

Revision 3081176b656a255da1e587a44933eabc58ee9119, 445 bytes (checked in by Dan Di Spaltro <dan@cloudkick.com>, 3 years ago)

Add autodetection of the libprotobuf-c library
Add the generated bundle file
use preprocessor macros to compile out support of protobufs.
Add 'B' metrics with the discussed format over IRC, enough information to route,
while preserving the cross language decoding.

  • 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 Bundle
14 {
15   required int32 available = 1;
16   required int32 state = 2;
17   required int32 duration = 3;
18   required string status = 4;
19   repeated Metric metrics = 5;
20 }
21
Note: See TracBrowser for help on using the browser.