With regards to gRPC Health Checking, if a gRPC service is hosted on the same port as other HTTP services that also need health checking, should the responses to grpc.health.v1.Health.Check
be only for gRPC services provided, or is it reasonable to also answer about other services as well? If the latter, what model for service names should be used?
I ask in part because there's already a /healthz
model for Kubernetes health checking and am trying to figure out whether we need to provide a ligature to the gRPC health checking, or could convolve the existing health checking, e.g.,
import "google.api.http";
…
rpc Check(HealthCheckRequest) returns (HealthCheckResponse) {
option (google.api.http) = { get: "/healthz" }
}
such that the stock gRPC health check monitor could be so used.