Skip to main content

health_check.proto

path phonexia/grpc/common/health_check.proto

package grpc.health.v1

Health check definitions for gRPC API.


Messages​

HealthCheckRequest​

Request message for checking the health of a service.

NameTypeDescription
servicestring

The name of the service to check.

HealthCheckResponse​

Response message for checking the health of a service.

NameTypeDescription
statusHealthCheckResponse.ServingStatus

The serving status of the checked service.


Enums​

HealthCheckResponse.ServingStatus​

The serving status of the checked service.

NameNumberDescription
UNKNOWN0

The serving status is unknown.

SERVING1

The service is serving requests.

NOT_SERVING2

The service is not serving requests.


Services​

Health​

Service for checking the health of a service.

Check​

MethodCheck
RequestHealthCheckRequest
ResponseHealthCheckResponse
Description

Check the health of a service.

Watch​

MethodWatch
RequestHealthCheckRequest
ResponseHealthCheckResponse stream
Description

Watch the health of a service. Messages about service availability will be periodically sent on the stream.