feat(proto): add service monitor
ci-agent / build (push) Failing after 2m30s

This commit is contained in:
2026-04-04 19:53:05 +03:00
parent 0f8b148279
commit 1d75935a08
3 changed files with 219 additions and 32 deletions
+11
View File
@@ -6,6 +6,16 @@ option go_package="gitea.d3m0k1d.ru/d3m0k1d/HellreigN/proto/proto";
service Collector {
rpc Stream(stream CollectorRequest) returns (CollectorResponse);
rpc ServicesStream(stream ServicesUpdate) returns (ServicesUpdateResp);
}
message ServicesUpdateResp {
}
message ServicesUpdate {
message ServiceUpdate {
string name = 1;
string status = 2;
}
repeated ServiceUpdate services = 1;
}
message CollectorRequest {
@@ -31,3 +41,4 @@ message FinishedCommand {
string stdout = 3;
string stderr = 4;
}