-
Notifications
You must be signed in to change notification settings - Fork 277
fix(fluent bit): make input plugin read from head of file #2158
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2158 +/- ##
==========================================
+ Coverage 58.23% 58.25% +0.01%
==========================================
Files 145 145
Lines 6127 6127
==========================================
+ Hits 3568 3569 +1
+ Misses 2556 2555 -1
Partials 3 3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be great to catch this scenario in an e2e test as a follow up.
lgtm |
@michelleN agreed, I've been trying to figure out how to test this and other scenarios where logs could be missed but haven't been able to find an efficient way yet. Opened this issue to track it #2159 |
Signed-off-by: Sanya Kochhar <kochhars@microsoft.com>
d1ec77a
795fe04
to
d1ec77a
Compare
…ervicemesh#2158) Signed-off-by: Sanya Kochhar <kochhars@microsoft.com>
Description: This change updates the Fluent Bit input plugin to make it read from the head of the log file rather than the tail. Reading from the tail was causing the first few logs to be missed.
Affected area:
Please answer the following questions with yes/no.
no, no