correct the Metrics interface
use lib/pq which is updated more frequently