Remove fake database and set allMetrics to list instead of set.