code: func (dbm *dbMetrics) updateFrom(dbStats sql.DBStats) {
  	dbm.maxOpenConnections.Set(float64(dbStats.MaxOpenConnections))
  	dbm.openConnections.Set(float64(dbStats.OpenConnections))
  	dbm.inUse.Set(float64(dbStats.InUse))
  	dbm.idle.Set(float64(dbStats.InUse))
  	dbm.waitCount.Set(float64(dbStats.WaitCount))
  	dbm.waitDuration.Set(float64(dbStats.WaitDuration.Seconds()))
  	dbm.maxIdleClosed.Set(float64(dbStats.MaxIdleClosed))
  	dbm.maxLifetimeClosed.Set(float64(dbStats.MaxLifetimeClosed))
  }
docs: // updateFrom updates the dbMetrics prometheus stats based on the provided
  // sql.DBStats object.