upgrade metrics-core to 2.2.0