0.0
No commit activity in last 3 years
No release in over 3 years
Rack::Probe provides a set of probes for Rack that fire with each request.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 1.0.0
>= 0.2.8
 Project Readme

Rack::Probe : dtrace probes for your webapp

status

Rack::Probe (along with Dtracy) is part of the Ruby on Rail's Google Summer of Code '09 Quartet, with development updates and entertainment available at http://ecin.tumblr.com Welcome! Sit down, grab a sugary drink, and enjoy the smell of freshly baked code right out of the oven.

requirements

An operating system with support for Dtrace (http://www.sun.com/bigadmin/content/dtrace/) is a must. Mac OS X, Solaris/OpenSolaris and FreeBSD are all acceptable choices, though no testing has been done on FreeBSD.

gem dependencies

  • rack
  • ruby-dtrace

installing

gem sources -a http://gems.github.com

gem install ecin-rack-probe

setup

Rails Middleware:

Inside your config/environment.rb

config.gem "ecin-rack-probe", :lib => "rack/probe"

config.middleware.use "Rack::Probe"

Rack Middleware:

Inside your rackup file

require 'rack/probe' use Rack::Probe

use

From a terminal, run dtrace -n rack*::: -l to get a list of all the available probes. The number you'll see after 'rack' in the provider field is the PID of the process that's making the probes available.

copyright

Copyright (c) 2009 ecin. See LICENSE for details.