Add function to delete unwanted metrics and fix ownership for
drop_old_metrics