Skip to content

Commit

Permalink
Merge pull request #1508 from tatsu-yam/feature/v012_flush_labels
Browse files Browse the repository at this point in the history
root_agent flush labels
  • Loading branch information
repeatedly committed Mar 21, 2017
2 parents 62628ea + 4c33b54 commit d8df66c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/fluent/root_agent.rb
Expand Up @@ -138,6 +138,11 @@ def shutdown
super
end

def flush!
super
@labels.each{ |name, label| label.flush! }
end

def suppress_interval(interval_time)
@suppress_emit_error_log_interval = interval_time
@next_emit_error_log_time = Time.now.to_i
Expand Down

0 comments on commit d8df66c

Please sign in to comment.