implement metrics filter to monitor requests