hosted_graphite fails to load statsd protocol
Closed this issue · 0 comments
tmertens commented
Requiring statsd via the earlier README instructions results in the following error with v0.1.1:
.rvm/gems/ruby-2.2.1/gems/hosted_graphite-0.1.1/lib/hosted_graphite.rb:27:in `require': cannot load such file -- hosted_graphite/protocols/stastd (LoadError)
from .rvm/gems/ruby-2.2.1/gems/hosted_graphite-0.1.1/lib/hosted_graphite.rb:27:in `protocol='
from .rvm/gems/ruby-2.2.1/gems/hosted_graphite-0.1.1/lib/hosted_graphite/statsd.rb:1:in `<top (required)>'
Note the file attempting to be loaded: hosted_graphite/protocols/stastd
This is due to a spelling mistake in :statsd
here: https://github.com/seuros/hosted_graphite/blob/master/lib/hosted_graphite/statsd.rb#L1