Removed deprecated resource metric logic