Skip to content

Metrics endpoint for internal pgwatch metrics #1108

@evenhummus

Description

@evenhummus

Is your feature request related to a problem? Please describe.
It would be handy to have a prometheus metrics endpoint from pgwatch itself. Useful metrics would be:

  1. How many databases are monitored by pgwatch
  2. How many sinks are currently connected and reachable (so we would see when the connection to the timescaldedb/prometheus etc. fails)
  3. etc. ...

Describe the solution you'd like
Metrics endpoint (/metrics or /prometheus) which provides internal pgwatch metrics

Metadata

Metadata

Assignees

No one assigned

    Labels

    sinksWhere and how to store monitored data

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions