I want to write a custom decorator to get metrics from an endpoint, is there a way for me to access the request as well as a response from a decorator? If not how should I g