expose metrics to request logging