Skip to content

Adding connection limit stats for database and roles #996

Closed
@jocelynthode

Description

@jocelynthode

Proposal

Hey, at my company we're relying heavily on the postgres_exporter to monitor our PostgreSQL instances and we recently faced the issues where a project used all their alloted connections defined by a connection limit on the database and we had no way of seeing it in our Prometheus/Alertmanager setup.

I would like to contribute a collector to retrieve both the pg_database_connection_limits and pg_roles_connection_limits. Is this a feature the project would be interested? If yes I'll happily open a PR with these changes. (I already have an initial working code with no tests)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions