Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions api/health_check.proto
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,19 @@ message HealthCheck {
message RedisHealthCheck {
}

// [#not-implemented-hide:] `grpc.health.v1.Health
// <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto>`_-based
// healthcheck. See `gRPC doc <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_
// for details.
message GrpcHealthCheck {
// An optional service name parameter which will be sent to gRPC service in
// `grpc.health.v1.HealthCheckRequest
// <https://github.com/grpc/grpc/blob/master/src/proto/grpc/health/v1/health.proto#L20>`_.
// message. See `gRPC health-checking overview
// <https://github.com/grpc/grpc/blob/master/doc/health-checking.md>`_ for more information.
string service_name = 1;
}

oneof health_checker {
option (validate.required) = true;

Expand All @@ -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;
}
}

Expand Down