syntax = "proto3";
package grpc.health.v1;
message HealthCheckRequest {
string service = 1;
}
message HealthCheckResponse {
enum ServingStatus {
UNKNOWN = 0;
SERVING = 1;
NOT_SERVING = 2;
}
ServingStatus status = 1;
}
service Health {
rpc Check(HealthCheckRequest) returns (HealthCheckResponse);
}
Anyone wanting to do this would have to implement this and configure the check to be grpc.
Feature request.
Envoy could come up with a standard for grpc health-check eg:
https://github.com/grpc/grpc/blob/master/doc/health-checking.md
Anyone wanting to do this would have to implement this and configure the check to be grpc.