Skip to content

Record connection pool metrics

Sean McGivern requested to merge record-connection-pool-metrics into master

What does this MR do?

Add a sampler for the #stat method of a connection pool, and record those stats in Prometheus. This applies to all stats except checkout_timeout, which is really more of a configuration item. It also applies to all database connections we use: the main one, the Geo tracking database, and any connection pools for database load balancing hosts.

For gitlab-com/gl-infra/scalability#153 (closed).

Merge request reports