Graph metrics are now db driven