diff options
author | David P <megver83@parabola.nu> | 2017-05-12 20:46:53 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2017-05-12 20:46:53 -0300 |
commit | 12c5c1055815eca712cb6dc36e258dce2599b72f (patch) | |
tree | 8ff148e7b9c58726e253698a1e85f03becaa7bd6 /pcr/ganglia/riemann.proto | |
parent | b497b008c4b48c57eb79e394419fa6961b3214c8 (diff) | |
download | abslibre-12c5c1055815eca712cb6dc36e258dce2599b72f.tar.gz abslibre-12c5c1055815eca712cb6dc36e258dce2599b72f.tar.bz2 abslibre-12c5c1055815eca712cb6dc36e258dce2599b72f.zip |
Updated gangalia
Diffstat (limited to 'pcr/ganglia/riemann.proto')
-rw-r--r-- | pcr/ganglia/riemann.proto | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pcr/ganglia/riemann.proto b/pcr/ganglia/riemann.proto new file mode 100644 index 000000000..3e946a3a0 --- /dev/null +++ b/pcr/ganglia/riemann.proto @@ -0,0 +1,45 @@ +option java_package = "com.aphyr.riemann"; +option java_outer_classname = "Proto"; + +message State { + optional int64 time = 1; + optional string state = 2; + optional string service = 3; + optional string host = 4; + optional string description = 5; + optional bool once = 6; + repeated string tags = 7; + optional float ttl = 8; +} + +message Event { + optional int64 time = 1; + optional string state = 2; + optional string service = 3; + optional string host = 4; + optional string description = 5; + repeated string tags = 7; + optional float ttl = 8; + repeated Attribute attributes = 9; + + optional sint64 metric_sint64 = 13; + optional double metric_d = 14; + optional float metric_f = 15; +} + +message Query { + optional string string = 1; +} + +message Msg { + optional bool ok = 2; + optional string error = 3; + repeated State states = 4; + optional Query query = 5; + repeated Event events = 6; +} + +message Attribute { + required string key = 1; + optional string value = 2; +} |