Skip to content

Pgwatch - Patroni Rest API Monitoring Enhancement #1030

@kylorend3r

Description

@kylorend3r

Hi there,

I want to find out if we can monitor patroni rest api's and store the measurements in metric database. In other words, I would like to collect patroni metrics and visualise them.

I reviewed the codebase and it seems pgwatch doesn't retrieve patroni rest api metrics.

My idea is adding capability of adding a patroni rest endpoint monitoring source without affecting the previous patroni sources and collect the metrics from rest endpoints.

We can also create a patroni dashboard to visualise metrics as a final step.

Let me know your thoughts and opinions/feedback.

https://patroni.readthedocs.io/en/latest/rest_api.html#monitoring-endpoint

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsourcesWhat sources and in what way to monitor

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions