A Ruby client for StatsD
Ruby
Pull request Compare This branch is 72 commits behind reinh:master.
Latest commit 4c323da Jul 2, 2012 @raggi raggi Merge branch 'jeremy'
* jeremy: (37 commits)
  Remove bogus self-dependency. WTF jeweler?
  Update generated .gemspec too
  Update gemspec info. Use fork URL.
  Socket error handling specs
  Ignore socket errors even if logger is not set.
  Update Bundler install docs to use github: source and limit to ~> 0.4.0
  Bundler installation instructions
  missing spec and doc for guage
  Change rcov to simplecov for compatibility with ruby 1.9
  README cosmetics
  Remove rcov dep
  Travis CI
  Bump to 0.4.0. Shed the .signals prerelease tag.
  Do less work if this stat isn't sampled anyway. h/t github#1
  Bundle up dependencies to run tests
  Revert "Resolve non-IP hosts to an IP immediately rather than incur a DNS lookup for each socket send"
  Fix exception handling specs
  Add an exception handling module so statsd can't disrupt the code it's monitoring.
  Setting host or port to nil sets to defaults
  Allow setting a nil host. Will resolve to localhost ultimately.
  ...

Conflicts:
	lib/statsd.rb
	statsd-ruby.gemspec
Failed to load latest commit information.
lib Socket error handling specs May 30, 2012
spec Socket error handling specs May 30, 2012
.document Initial commit to statsd. Feb 18, 2011
.gitignore
.travis.yml Travis CI Apr 14, 2012
Gemfile
LICENSE.txt Initial commit to statsd. Feb 18, 2011
README.rdoc
Rakefile Update gemspec info. Use fork URL. May 30, 2012
VERSION Bump to 0.4.0. Shed the .signals prerelease tag. Apr 12, 2012
statsd-ruby.gemspec Remove bogus self-dependency. WTF jeweler? May 30, 2012

README.rdoc

statsd-ruby

A Ruby client for StatsD

Installing

Bundler:

gem 'statsd-ruby', '~> 0.4.0', github: 'jeremy/statsd-ruby', require: 'statsd'

Installing

Bundler:

gem "statsd-ruby", :require => "statsd"

Testing

Run the specs with rake spec

Run the specs and include live integration specs with LIVE=true rake spec. Note: This will test over a real UDP socket.

Contributing to statsd

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet

  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it

  • Fork the project

  • Start a feature/bugfix branch

  • Commit and push until you are happy with your contribution

  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.

  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Contributors

  • Rein Henrichs

  • Ray Krueger

Copyright

Copyright © 2011 Rein Henrichs. See LICENSE.txt for further details.