complete generate metrics