Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rails_instrument

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rails_instrument

  • 0.0.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Rails Instrument

This gem is a middleware which add some instrumentation details like db runtime, view runtime, number of sqls fired on each request in the response headers.

Response headers added

  • X-View-Runtime
  • X-DB-Runtime
  • X-DB-Query-Count

Installation

Install the latest stable release:

[sudo] gem install rails_instrument

In Rails >= 3, add it to your Gemfile:

gem 'rails_instrument'

TODO

  • Create chrome extension to show this information inline in the page. Implemented as html fragment added by the middleware to html response.
  • Add helper methods for tests. Ex: The number of sqls fired can be asserted. - wip
  • Add test coverage.

FAQs

Package last updated on 21 Oct 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc