Kentaro Hayashi
null+****@clear*****
Wed Jul 12 17:55:36 JST 2017
Kentaro Hayashi 2017-07-12 17:55:36 +0900 (Wed, 12 Jul 2017) New Revision: 3d81261ef11d54b3ba3e6f55ece266b1f69fcfd4 https://github.com/groonga/fluent-plugin-groonga-query-log/commit/3d81261ef11d54b3ba3e6f55ece266b1f69fcfd4 Merged f60f056: Merge pull request #3 from kenhys/support-slow-threshold Message: Support slow_operation_threshold and slow_response_threshold In the previous versions, the value of slow_operation_threshold and slow_response_threshold can't be customized. Modified files: lib/fluent/plugin/filter_groonga_query_log.rb Modified: lib/fluent/plugin/filter_groonga_query_log.rb (+5 -1) =================================================================== --- lib/fluent/plugin/filter_groonga_query_log.rb 2017-07-12 10:54:01 +0900 (e3eab2e) +++ lib/fluent/plugin/filter_groonga_query_log.rb 2017-07-12 17:55:36 +0900 (73187dc) @@ -30,7 +30,11 @@ module Fluent def configure(conf) super - @parser = Groonga::QueryLog::Parser.new + options = { + :slow_operation_threshold => @slow_operation_threshold, + :slow_response_threshold => @slow_response_threshold, + } + @parser = Groonga::QueryLog::Parser.new(options) end def filter_stream(tag, event_stream) -------------- next part -------------- HTML����������������������������...Download