applied first metrics patch
added Metrics.apt.vm