mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Save device logs to rethinkdb.
This commit is contained in:
parent
39989c6e7a
commit
389db73f08
8 changed files with 140 additions and 41 deletions
|
@ -14,6 +14,7 @@ enum MessageType {
|
|||
DEVICE_DONE = 11;
|
||||
DEVICE_FAIL = 12;
|
||||
DEVICE_IDENTITY = 13;
|
||||
DEVICE_LOG = 14;
|
||||
}
|
||||
|
||||
message Envelope {
|
||||
|
@ -21,6 +22,17 @@ message Envelope {
|
|||
required bytes message = 2;
|
||||
}
|
||||
|
||||
// Logging
|
||||
|
||||
message DeviceLogMessage {
|
||||
required string serial = 1;
|
||||
required double timestamp = 2;
|
||||
required uint32 priority = 3;
|
||||
required string tag = 4;
|
||||
required uint32 pid = 5;
|
||||
required string message = 6;
|
||||
}
|
||||
|
||||
// Introductions
|
||||
|
||||
message DevicePokeMessage {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue