code: func (dbm *dbMetrics) reportDBMetrics() {
  	for {
  		stats := dbm.dbMap.Db.Stats()
  		dbm.updateFrom(stats)
  		time.Sleep(1 * time.Second)
  	}
  }
docs: // reportDBMetrics is an infinite loop that will update the dbm with the gorp
  // dbMap's inner sql.DBMap's DBStats structure every second. It is intended to
  // be run in a dedicated goroutine spawned by InitDBMetrics.