-
Notifications
You must be signed in to change notification settings - Fork 18.7k
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
Add IMAGE_NAME attribute to journald log events #38032
Conversation
Signed-off-by: Rohit Kapur <rkapur@flatiron.com>
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #38032 +/- ##
=========================================
Coverage ? 36.11%
=========================================
Files ? 610
Lines ? 45187
Branches ? 0
=========================================
Hits ? 16319
Misses ? 26630
Partials ? 2238 |
Related documentation PR here |
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.
LGTM
@fntinz @yongtang Do I need to do anything to fix the codecov/patch check? Apologies if this is a stupid question. |
@RohitK89 The |
Hey folks. Just to confirm, there's nothing else needed from me to move this forward, right? Again, apologies if this is a stupid question. The docs recommend having the documentation change in the same commit, but given that it's a different project, I linked to the relevant PR here. Is that sufficient? |
Looks like we have two LGTMs and all tests passed. |
Signed-off-by: Rohit Kapur rkapur@flatiron.com
Closes #21497
- What I did
Adds a new key - IMAGE_NAME - that contains the image:tag value to journald log messages. Note that this makes use of
Info.ImageName()
to retrieve the value, which doesn't return the tag if its value islatest
.- How I did it
Updated the journald logging driver
- How to verify it
The journald entry returned should have
IMAGE_NAME
as one of the keys- Description for the changelog
Add IMAGE_NAME attribute to journald log event
- A picture of a cute animal (not mandatory but encouraged)
cat