lib/fluent/plugin/out_tdlog.rb in fluent-plugin-td-0.10.8 vs lib/fluent/plugin/out_tdlog.rb in fluent-plugin-td-0.10.9
- old
+ new
@@ -87,14 +87,16 @@
rescue
raise ConfigError, "Invalid table name #{table.inspect}: #{$!}: #{conf}"
end
@key = "#{database}.#{table}"
end
+
+ @http_proxy = conf['http_proxy']
end
def start
super
- @client = TreasureData::Client.new(@apikey, :ssl=>@use_ssl)
+ @client = TreasureData::Client.new(@apikey, :ssl=>@use_ssl, :http_proxy=>@http_proxy)
unless @auto_create_table
check_table_exists(@key)
end
end