Skip to content

Register gRPC health check server when running gRPC server as an O #2076

@yondonfu

Description

@yondonfu

At the moment, the easiest way to run a health check for an O is to query the CLI server that O starts i.e. curl localhost:7935/status. However, this just tells us if the CLI server is up. It'd be nice to have a health check that can tell us if the gRPC server for the O is up as well. This can be done using gRPC health checking. We just need to register the health server with the gRPC server as an O. Then, you could use a gRPC health probe to check on the health of the gRPC server.

See this example of registering the health server for livepeer_router.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions