lib/fluent/plugin/out_tdlog.rb in fluent-plugin-td-0.10.19 vs lib/fluent/plugin/out_tdlog.rb in fluent-plugin-td-0.10.20

- old
+ new

@@ -1,5 +1,7 @@ +require 'td-client' + module Fluent class TreasureDataLogOutput < BufferedOutput Plugin.register_output('tdlog', self) @@ -79,11 +81,10 @@ require 'zlib' require 'net/http' require 'json' require 'cgi' # CGI.escape require 'time' # Time#rfc2822 - require 'td-client' require 'digest/md5' require 'stringio' super @tmpdir = nil @apikey = nil @@ -164,10 +165,10 @@ @anonymizes[key] = scr } @anonymizes = nil if @anonymizes.empty? @http_proxy = conf['http_proxy'] - @user_agent = "fluent-plugin-td: 0.10.19" # TODO: automatic increment version + @user_agent = "fluent-plugin-td: 0.10.20" # TODO: automatic increment version end def start super