Created
September 12, 2011 17:39
-
-
Save mheffner/1211868 to your computer and use it in GitHub Desktop.
Setting Monitoring Tags with Passenger and Librato Silverline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See this article for how to tag processes: | |
# http://support.silverline.librato.com/kb/monitoring-tags/using-monitoring-tags | |
# | |
#### | |
# Apache config option: | |
# See: http://www.modrails.com/documentation/Users%20guide%20Apache.html#PassengerRuby | |
# | |
PassengerRuby /path/to/ruby_wrapper.sh | |
#### | |
# ruby_wrapper.sh | |
# | |
#!/bin/bash | |
RUBY=/path/to/real/ruby | |
export SL_NAME=my_app_name | |
$RUBY "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment