Skip to content

Adopt upstream improvements to Rack middleware

A few years ago, upstream refactored their Rack middleware to address some performance and monitoring consistency issues. e.g., in the collector, the time of the request is measured using Benchmark.realtime, which will use monotonic time and avoid some object allocations.