Adding time monitoring for rest interfaces