Ghost/.github/scripts
Chris Raible 431719080e
Added prometheus metric for time to acquire connection (#21628)
ref
https://linear.app/ghost/issue/ENG-1769/improve-pool-utilization-metric

- Currently the connection pool metrics are all point in time metrics,
and with a scrape interval of 15s this doesn't tell us a whole lot about
what's happening in the pool.
- This commit adds a Summary metric to track the elapsed time each
transaction has to wait to acquire a connection from the pool, which
should be a good indication of contention in the pool.
- Also moved the call to `prometheusClient.instrumentKnex` to after `initCore` in the boot process, because the metric depends on event listeners on `knex.client.pool`, and the pool gets destroyed and recreated in `initCore`, which removes the listeners
2024-11-14 21:14:40 -08:00
..
grafana Added prometheus metric for time to acquire connection (#21628) 2024-11-14 21:14:40 -08:00
mysql-preload Added MySQL setup via Docker 2023-12-07 10:57:47 +01:00
prometheus Configured local prometheus and pushgateway in docker-compose (#21538) 2024-11-06 11:36:37 -08:00
bump-version.js Exported Git commit hash from update script 2024-09-24 14:08:38 +02:00
clean.sh Added Dev Container setup (#21279) 2024-10-24 11:15:08 -07:00
dev.js Cleaned up browser test output in CI (#21462) 2024-10-30 12:39:41 -07:00
docker-compose.yml Added connection pool metrics to prometheus client (#21576) 2024-11-07 23:01:34 -08:00
setup.js Added Dev Container setup (#21279) 2024-10-24 11:15:08 -07:00