-
Notifications
You must be signed in to change notification settings - Fork 137
fix(NodeLogs): Fix labelmap regex missing User Journal Fields #1518
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
base: main
Are you sure you want to change the base?
Conversation
want some help. originally I was just changing the regex to look like this:
but I then noticed that that would set the
currently we are setting the so then I added this block
I then realised that we needed a label fill priority for
which should prioritise the but then I double checked my changes on my deployment, and was surprised to see that I took a closer look at the User Journal Fields and I am now more confused then before. UNIT=, USER_UNIT=
The name of a unit. Used by the system and user managers when logging about specific units.
When --unit=name or --user-unit=name are used with [journalctl(1)](https://www.freedesktop.org/software/systemd/man/latest/journalctl.html#), a match pattern that includes "UNIT=name.service" or "USER_UNIT=name.service" will be generated.
Added in version 251.
What does this mean? Is this like INVOCATION_ID=, USER_INVOCATION_ID=
A randomized, unique 128-bit ID identifying each runtime cycle of the unit. This is different from _SYSTEMD_INVOCATION_ID in that it is only used for messages coming from systemd code (e.g. logs from the system/user manager or from forked processes performing systemd-related setup).
Added in version 245 or is this some kind of client/request only field, that should never apear to us? I don't know. Question 1How should I deal with Should I: Ignore themno idea when (if ever) this field is set.
Always override/set the De-Prioritise the fieldsif the
we always prioritise the Prioritise the fieldstry the
we always prioritise the Question 2Should I fold Basically:
The documentation does not make it 100% clear when one would be set over the other. |
Question 3I just noticed you use |
I'm going to wait for feedback before I start fixing up the issues |
Closes: #1517