Upgrade to metrics 3.0.0