PostgreSQL connections have a maximum number. As they are a resource with limits, we should be monitoring the number of connections to the maps DB servers and have an alarm before they reach the maximum.
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T268741 [Maps] Provide efficient monitoring capabilities to support maps | |||
| Resolved | hnowlan | T248858 Create prometheus metrics for Maps OSM data disk usage | |||
| Invalid | akosiaris | T168767 Monitor PostgreSQL connection slots |
Event Timeline
Comment Actions
The check_postgres scripts that are already deployed are probably a good way to implement this check in a very simple way.
Comment Actions
Max connections can be tracked from Grafana, but monitoring the limit of connections and setting an alarm is something I don't know how to do and if it's still relevant, considering it's an old ticket.
Comment Actions
I am gonna tentatively close this. No updates in >2.5 years and doesn't look like anyone is going to work on it. If we identify we actually need this, let's open a new task.