-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Running our client in Kubernetes, we'd like to provide a readiness endpoint which can report whether or not it is ready to accept connections. This will be based on whether we know to have a healthy connection with the DB.
Is there a recommended way to check for the health of a pg pool? Is this as simple as checking to see if there is at least 1 connection in the pool, or would it require something different?
We'd prefer not to have to perform a query to make this check, but will resort to this approach if there is no reliable alternative.
Metadata
Metadata
Assignees
Labels
No labels