houston package 독립
This commit is contained in:
16
protos/monitor.proto
Normal file
16
protos/monitor.proto
Normal file
@ -0,0 +1,16 @@
|
||||
syntax = "proto3";
|
||||
option go_package = "common/protos";
|
||||
import "protos/empty.proto";
|
||||
|
||||
service Monitor {
|
||||
rpc Report(Metrics) returns (Empty) {}
|
||||
}
|
||||
|
||||
message Metrics {
|
||||
string hostname = 1;
|
||||
float cpu = 3;
|
||||
uint32 total = 4;
|
||||
uint32 free = 5;
|
||||
map<string, float> metrics = 6;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user