alexliesenfeld / health

A simple and flexible health check library for Go.
MIT License
774 stars 38 forks source link

Add GRPC check #48

Closed alexliesenfeld closed 1 year ago

alexliesenfeld commented 1 year ago

It would be useful to have a library of commonly used health checks. In the scope of this issue, a health check should be implemented that checks if a GRPC endpoint is reachable, e.g. by using a HealthClient instance from google.golang.org/grpc/health/grpc_health_v1 to retrieve its status and see if it is "serving" (I.e. HealthCheckResponse_SERVING).

A few constraints to keep things clean and simple:

Should you have questions or require help, please join our discord chat room.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

nbgraham commented 7 months ago

Was the checks module removed? It seems that it still exists on the development branch, but not main? What is the status of the development branch?

https://github.com/alexliesenfeld/health?tab=readme-ov-file#compatibility-with-other-libraries