Instrument database connection statistics
Problem
The exported Prometheus metrics don't include any statistics about the database connections.
Solution
Export Prometheus metrics based on the sql.DBStats. This will allow administrators to monitor the database connection pool allocation and saturation.
This requires a change in LabKit, which is currently in review (labkit!90 (merged)).
Edited by João Pereira