Rack middleware to track throughput and response time with metriks