-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstats.proto
51 lines (44 loc) · 1.1 KB
/
stats.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
/*
* Message definitions for various statistics.
*
* Time is in seconds from 1970 epoch.
*/
syntax = "proto3";
package stats;
// Ping times from listed services.
message PingTimes {
message ServicePing {
string name = 1;
string host = 2;
string port = 3;
bool online = 4;
// Ping time in milliseconds.
uint32 ms = 5;
}
message DevicePing {
string name = 1;
string host = 2;
bool online = 3;
uint32 ms = 4;
}
double time = 1;
repeated ServicePing list = 2;
repeated ServicePing service_pings = 3;
repeated DevicePing device_pings = 4;
}
// Rate at which the interop server receives telemetry.
message InteropUploadRate {
double time = 1;
// Total rates over 1 and 5 seconds without filtering.
double total_1 = 2;
double total_5 = 3;
// Rates over 1 and 5 seconds of unique telemetry.
double fresh_1 = 4;
double fresh_5 = 5;
}
// Rate at which images are being captured / synced.
message ImageCaptureRate {
double time = 1;
// Rate over 5 seconds.
double rate_5 = 2;
}