From 93499999ecd556e1fca76f3747cb70862e2de98d Mon Sep 17 00:00:00 2001 From: Alexey Baranov Date: Wed, 3 Jan 2018 13:48:36 +0300 Subject: [PATCH] GRPC-native healthcheck config option Part of the work on https://github.com/envoyproxy/envoy/issues/369 Signed-off-by: Alexey Baranov --- api/health_check.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/api/health_check.proto b/api/health_check.proto index 08e05d0e3..7d7423950 100644 --- a/api/health_check.proto +++ b/api/health_check.proto @@ -88,6 +88,19 @@ message HealthCheck { message RedisHealthCheck { } + // [#not-implemented-hide:] `grpc.health.v1.Health + // `_-based + // healthcheck. See `gRPC doc `_ + // for details. + message GrpcHealthCheck { + // An optional service name parameter which will be sent to gRPC service in + // `grpc.health.v1.HealthCheckRequest + // `_. + // message. See `gRPC health-checking overview + // `_ for more information. + string service_name = 1; + } + oneof health_checker { option (validate.required) = true; @@ -99,6 +112,9 @@ message HealthCheck { // Redis health check. RedisHealthCheck redis_health_check = 10; + + // [#not-implemented-hide:] GRPC health check. + GrpcHealthCheck grpc_health_check = 11; } }