-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: refactor multiline split state #1410
Conversation
0011ac6
to
9fd9a68
Compare
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.
feedlines相关的都删了,这个实际用不到,是个废指标
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.
形式上和merge完全对齐,unmatch的时候就直接打印日志,不用再维护discardIndex之类的。
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.
插件名称改成SplitMultilineLogStringNative
core/unittest/processor/ProcessorSplitMultilineLogStringNativeUnittest.cpp
Outdated
Show resolved
Hide resolved
core/unittest/processor/ProcessorSplitMultilineLogStringNativeUnittest.cpp
Show resolved
Hide resolved
core/unittest/processor/ProcessorSplitMultilineLogStringNativeUnittest.cpp
Outdated
Show resolved
Hide resolved
core/unittest/processor/ProcessorSplitMultilineLogStringNativeUnittest.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: henryzhx8 <[email protected]>
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.
- 指标有误,需要完善一下
- handleunmatch那边,只需打印第一条日志和有多少行不匹配就可以了
No description provided.