added metrics to resources