展示监控信息

This commit is contained in:
奶爸
2019-12-09 23:45:23 +08:00
parent bfe6d48927
commit 8d791d91c1
9 changed files with 157 additions and 84 deletions

View File

@@ -14,11 +14,10 @@ message Host {
repeated string cpu = 3;
string arch = 4;
string virtualization = 5;
string uptime = 6;
string boot_time = 7;
string ip = 8;
string country_code = 9;
string version = 10;
uint64 boot_time = 6;
string ip = 7;
string country_code = 8;
string version = 9;
}
message State {
@@ -29,8 +28,11 @@ message State {
uint64 swap_used = 5;
uint64 disk_total = 6;
uint64 disk_used = 7;
uint64 net_in = 8;
uint64 net_out = 9;
uint64 net_in_transfer = 8;
uint64 net_out_transfer = 9;
uint64 net_in_speed = 10;
uint64 net_out_speed = 11;
uint64 uptime = 12;
}
message Receipt{