-
Notifications
You must be signed in to change notification settings - Fork 70
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
confgenerator: Structured Ops Agent Health Logs #1290
Merged
franciscovalentecastro
merged 40 commits into
master
from
fcovalente-structured-self-logs
Jul 10, 2023
Merged
confgenerator: Structured Ops Agent Health Logs #1290
franciscovalentecastro
merged 40 commits into
master
from
fcovalente-structured-self-logs
Jul 10, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
franciscovalentecastro
force-pushed
the
fcovalente-structured-self-logs
branch
from
June 19, 2023 17:40
b117bbb
to
2541c73
Compare
franciscovalentecastro
changed the title
[Draft] Create self_logs.go
confgenerator: Structured Ops Agent Health Logs
Jun 19, 2023
franciscovalentecastro
force-pushed
the
fcovalente-structured-self-logs
branch
from
June 20, 2023 21:08
25c01e2
to
fed3c40
Compare
franciscovalentecastro
force-pushed
the
fcovalente-structured-self-logs
branch
2 times, most recently
from
June 29, 2023 14:34
b1ba08c
to
0d6aca7
Compare
jefferbrecht
previously requested changes
Jun 29, 2023
franciscovalentecastro
force-pushed
the
fcovalente-structured-self-logs
branch
from
July 5, 2023 14:59
df75c05
to
b9839ee
Compare
jefferbrecht
reviewed
Jul 5, 2023
franciscovalentecastro
force-pushed
the
fcovalente-structured-self-logs
branch
3 times, most recently
from
July 6, 2023 18:43
ab14f60
to
ce4dd16
Compare
franciscovalentecastro
force-pushed
the
fcovalente-structured-self-logs
branch
from
July 7, 2023 19:14
ce4dd16
to
8260440
Compare
rafaelwestphal
approved these changes
Jul 10, 2023
franciscovalentecastro
dismissed
jefferbrecht’s stale review
July 10, 2023 18:50
Requested changes comment addressed. Synced offline with @jefferbrec about last PR details.
9 tasks
franciscovalentecastro
added a commit
that referenced
this pull request
Aug 3, 2023
This PR adds filters to sample specific logs fluent-bit self-logs and transform them into ops-agent-health logs, following the Structured Ops Agent Health Logs format(#1290). The following fluent-bit logs are sampled : - Code : LogPipelineErr, Match : [error] [lib] backend failed - Code : LogParseErr, Match : [error] [parser] cannot parse
9 tasks
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This change creates the
confgenerator/self_logs.go
as a first step to organize all self logs into the same structured format. This is PR only applies the format forhealth-checks.log
and the followup #1300 will enforce the format to a sample oflogging-module.log
logs.Every Ops Agent Health Logs will appear under the log name
ops-agent-health
and should have the following fields :Inherited Fields
Required Fields
Optional Fields
Google Cloud Logging LogEntry Output Format :
Related issue
b/287980723
How has this been tested?
Some details about the testing of this PR :
TestLoggingSelfLogs
.Checklist: