rightscale/right_support — pull request #139 by justingaylor (2014-09-26 00:24:29+00:00)
Title: Add RightSupport::Rack::Runtime middleware for Rack

This middleware allows reporting of the runtime of all Rack apps at and below this middleware in the stack via an 'X-Runtime[-]' header in HTTP Response.

Usage:
use RightSupport::Rack::Runtime # => 'X-Runtime' header added
use RightSupport::Rack::Runtime, "Total" # => 'X-Runtime-Total' header added