Add metrics with ids to secondary, without to primary