openaienmodel: gpt-5-mini-2025-08-07
Hyperdrive exposes database connection pool size metrics
Key Points
- View pool metrics in dashboard
- API: hyperdrivePoolSizesAdaptiveGroups dataset
- Pool connections chart with location drill-down
Summary
Cloudflare Hyperdrive now exposes detailed connection pool size metrics so engineers can self-diagnose connection contention. Metrics are available in the Cloudflare dashboard (Metrics tab → "Pool connections" chart) and via the GraphQL Analytics API dataset hyperdrivePoolSizesAdaptiveGroups.
Key Points
- Dashboard: new "Pool connections" chart on each Hyperdrive configuration shows Waiting clients, Open connections, and Pool size maximum. Use the location selector (airport codes) to drill down by location.
- GraphQL dataset:
hyperdrivePoolSizesAdaptiveGroupsexposes both averaged and peak values:- avg:
currentPoolSize,availablePoolSlots,waitingClients - max:
maxPoolSize,currentPoolSize,waitingClients
- avg:
- Interpretation: spikes in
waitingClientsor sustainedcurrentPoolSizenearmaxPoolSizeindicate contention. IfcurrentPoolSizeregularly approachesmaxPoolSize, contact Cloudflare to request a higher Hyperdrive connection limit.
Practical steps for engineers
- Add
hyperdrivePoolSizesAdaptiveGroupsqueries to existing analytics workflows to alert on risingwaitingClientsorcurrentPoolSizethresholds. - Use location drill-down to isolate affected POPs (airport codes) and correlate with app traffic patterns.
- If alerts trigger frequently, consider increasing connection limits with Cloudflare or optimizing application connection usage.
References
See Metrics and analytics and Connection pooling in Cloudflare docs for full schema and query examples.