Closed alexliesenfeld closed 1 year ago
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
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
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:
development
branch.context.Context
that is being passed to each health check function.Should you have questions or require help, please join our discord chat room.