Skip to content

Commit

Permalink
add elaboration on usage w/ REE
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Mar 23, 2012
1 parent 3d66218 commit 2a4b8bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -100,6 +100,10 @@ Resque.on_failure { I.flush }

You're required to do this because Resque calls `exit!` when a worker has finished processing, which bypasses Ruby's `at_exit` hooks. The Instrumental Agent installs an `at_exit` hook to flush any pending metrics to the servers, but this hook is bypassed by the `exit!` call; any other code you rely that uses `exit!` should call `I.flush` to ensure any pending metrics are correctly sent to the server before exiting the process.

## Using with Ruby Enterprise Edition

Users of Ruby Enterprise Edition should plan on using version 0.9.5 of the Instrumental Agent or greater. Please see the [REE wiki page](https://github.com/fastestforward/instrumental_agent/wiki/Using-with-Ruby-Enterprise-Edition) for more information.


## Troubleshooting & Help

Expand Down

0 comments on commit 2a4b8bd

Please sign in to comment.