PostgREST / postgrest

REST API for any Postgres database
https://postgrest.org
MIT License
23.46k stars 1.03k forks source link

feat: log pool maximum size #3727

Closed steve-chavez closed 1 month ago

steve-chavez commented 2 months ago

It's important for observability to have an historic trace of the pool size. Currently we expose it on the metrics endpoint, but not all deployments use it.

This logs the pool size after the successful connection log to make it more visible:

<timestamp>: Connection Pool initialized with a maximum size of 4 connections