-
Notifications
You must be signed in to change notification settings - Fork 80
healthchecks : Improve self logs processing and healthchecks logs. #1674
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
Conversation
38458ca to
29dd983
Compare
993c83f to
8ffda40
Compare
internal/healthchecks/error.go
Outdated
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.
Is this actually a fatal error? Won't fluent-bit continue to run if it fails to parse a log?
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.
It is not a fatal error. Thanks for mentioning. I changed to IsFatal: false.
confgenerator/self_logs.go
Outdated
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.
Remove this comment line if it's no longer needed
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.
I removed the // It also translates "code" to the rich text message from the "selfLogTranslationList" part of the comment which is not relevant anymore.
Co-authored-by: Jeff Erbrecht <[email protected]>
af7aaa6 to
113e038
Compare
Description
This PR adds several features and fixes that improve the runtime checks and self logs processing. Here is a detailed description :
severity: debuglogs (add self logs debug severity grep filter #1437, b/272779619).TestNoFluentBitDebugSelfLogs.self_logs.goimplementation after fluent-bit 2.2 upgrade bug fixes. (b/328463822).sourceLocationfield fromhealth-checks.logwhich doesn't bring enough value and makes it harder to read.Runtime Checkerrors intohealthchecks/error.go.Before
health-checks.logentryAfter
health-checks.logentryNote : This link points to the committed
.gofiles without the goldens to make it easier for review.Related issue
b/272779619, b/303073892, b/328463822
How has this been tested?
Checklist: