jgraichen / telegraf-ruby

Send events from Ruby to a Telegraf agent
GNU Lesser General Public License v3.0
13 stars 7 forks source link

Problem to create instance #3

Closed AllanKlaus closed 4 years ago

AllanKlaus commented 5 years ago

I'm getting the following error.

2.5.1 :001 > telegraf = Telegraf::Agent.new
Traceback (most recent call last):
        2: from (irb):1
        1: from (irb):1:in `new'
NameError (uninitialized constant Telegraf::Agent::DEFAULT_CONNECTION)

I created a PR to fix it, if need some change we can talk to me.