Skip to content

Instantly share code, notes, and snippets.

@mheffner
Created September 12, 2011 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mheffner/1211868 to your computer and use it in GitHub Desktop.
Save mheffner/1211868 to your computer and use it in GitHub Desktop.
Setting Monitoring Tags with Passenger and Librato Silverline
# 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