Please sign in to comment.
Merge pull request #11 from signal/statsd
--- Here weve added an enabled flag that of course defaults to true. Also the stat name changes that prevent crashing of the statsd server, and allowing for ruby class names as stat names. The enabled flag works really well with the logging addition from earlier... :config/initializers/statsd.rb enabled = (Rails.env.staging? || Rails.env.production?) Statsd.logger = Rails.logger StatsdMonitor = Statsd.new("10.178.0.20", 8125, enabled) This is extremely useful for local debugging. You can see the stats, without sending any data. Also, there are specs for everything :) and I rebased it all on top of your 0.2.1 release.
- Loading branch information...
Showing with 48 additions and 0 deletions.