Skip to content

Current number of connections in use #443

Open
@charsleysa

Description

@charsleysa

We used to use pg and pg-pool which would expose the number of connections in use and the number available.

Our use case is that this would let us have a health endpoint that our load balancer could use to determine if the server is overloaded query-wise (cpu and request could could still be low but connections could be maxed out and queries taking too long for some reason).

Is there any way to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions