updated metrics to work with docker 0.9.0