Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A Ruby client for StatsD
Ruby
tree: 4c323da791

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
latest commit 4c323da791
@raggi raggi authored

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.

Something went wrong with that request. Please try again.