observability(runway): add artifact-registry connection pool pressure panels
Extends the Database dashboard's 🏊 Connection pool row with the four pgx
pool acquisition counters that
gitlab-org/ops/artifact-registry!2403 (merged)
added, so pool pressure is visible next to the existing
database_connection_pool_size{state} panel:
| Panel | Why this shape |
|---|---|
| Connection acquire rate | Baseline for the other three; on its own it is throughput, not pressure. |
| Mean connection acquire wait | acquire_duration_seconds_total / acquires_total. Both are plain counters, so this is a true mean and not a quantile — the description says so, because a slow tail behind fast acquisitions is invisible here. |
| Empty acquires | Carries puddle's caveat: an empty acquire is also booked when the pool opens a connection, not only when a caller waits, so a pod still growing its pool books these with nothing queued. The pressure signal is the rate staying high once pool size has levelled off. |
| Canceled acquires | Not a subset of the acquire rate, so the description warns against reading it as a share of it. |
Extending the existing row rather than adding a second one: an operator reading acquire wait wants pool size in the same eyeful, and the row now carries five panels like the Storage dashboard's GCS row.
The emitter (!2403 (merged)) merged to AR main today and reached staging with
v2.14.0, so the series flow in staging; production shows No data until
the release rolls there. The panels carry no vector(0) fallback: No data
before the deploy is honest.
Preview: https://dashboards.gitlab.net/d/jpereira-verify-ar-db-pool