Sha256: db1478dfcdd9434ed7bd6421dc377d4398ccf91affa32970d230470bd70dcdae
Contents?: true
Size: 663 Bytes
Versions: 3
Compression:
Stored size: 663 Bytes
Contents
# Rack::Perf This Rack middleware will time and record status codes from your controllers. It will then send up this timing data to Perf's logging infrastructure where metrics and alerts are generated. ## Installation * Add this line to your application's Gemfile: ```ruby gem 'rack-perf' ``` * And then execute: ```bash bundle ``` * In your application.rb file, add the middleware in your application class ```ruby module Example class Application < Rails::Application # ADD THIS LINE INTO THE APPROPRIATE MODULE config.middleware.use Rack::Perf, api_key="PERF_API_KEY" end end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rack-perf-1.1.6 | README.md |
rack-perf-1.1.4 | README.md |
rack-perf-1.1.2 | README.md |