delete metrics implementation