Skip to content

Commit

Permalink
Merge pull request #9 from joker1007/multi-worker
Browse files Browse the repository at this point in the history
Support multi worker
  • Loading branch information
joker1007 committed Jan 23, 2018
2 parents 764a400 + 58052d0 commit 0d83d57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/fluent/plugin/out_dd.rb
Expand Up @@ -84,6 +84,10 @@ def configure(conf)
@dog = Dogapi::Client.new(@dd_api_key, @dd_app_key, @host, @device, @silent, @timeout)
end

def multi_workers_ready?
true
end

def format(tag, time, record)
[tag, time, record].to_msgpack
end
Expand Down

0 comments on commit 0d83d57

Please sign in to comment.