github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

ecin / rack-probe

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 4
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (1)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (1)
    • v0.0.3
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Add dtrace probes to your Rack app. — Read more

  cancel

ecin.github.com/dtracy/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Updated gemspec for v0.0.3 
ecin (author)
Fri Aug 21 09:21:05 -0700 2009
commit  9e24247178f772f218aa21fec1ca1ad7f4328fc9
tree    916e417aaab22a75a81fb8b1e9f8f5fed2ec5868
parent  98526746b49d5bbb6e1ab043705415174fe6ffd9
rack-probe /
name age
history
message
file .document Loading commit data...
file .gitignore
file LICENSE
file README.markdown
file Rakefile
file VERSION
directory lib/
file rack-probe.gemspec
directory spec/
README.markdown

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.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server