diff --git a/lib/fluent/plugin/in_tail.rb b/lib/fluent/plugin/in_tail.rb index f793ae2b85..852f2723bd 100644 --- a/lib/fluent/plugin/in_tail.rb +++ b/lib/fluent/plugin/in_tail.rb @@ -1224,7 +1224,7 @@ def handle_notify if group_watcher_limit || limit_bytes_per_second_reached? || should_shutdown_now? # Just get out from tailing loop. - @metrics.throttled.inc + @metrics.throttled.inc if group_watcher_limit || limit_bytes_per_second_reached? read_more = false break end