Functionality to attach to db and pull data
Wiring metrics reporting into /metrics view