LOG-7889: Fields not getting pruned for loki output
Description
This PR decouples Lokistack labels from Loki.
For Lokistack:
- App and infra logs will include log type, host, and container labels along with their Otel equivalents.
- Audit logs will NOT include container labels but will include log type and host labels along with their Otel equivalents.
For Loki:
- log type, host, and container labels will be added by default without their Otel equivalents if no
LabelKeysare defined.
/cc @cahartma @vparfonov /assign @jcantrill
Links
- JIRA: https://issues.redhat.com/browse/LOG-7889
@Clee2691: This pull request references LOG-7889 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.8.0" version, but no target version was set.
In response to this:
Description
This PR decouples
Lokistacklabels fromLoki.For
Lokistack:
- App and infra logs will include log type, host, and container labels along with their Otel equivalents.
- Audit logs will NOT include container labels but will include log type and host labels along with their Otel equivalents.
For
Loki:
- log type, host, and container labels will be added by default without their Otel equivalents if no
LabelKeysare defined./cc @cahartma @vparfonov /assign @jcantrill
Links
- JIRA: https://issues.redhat.com/browse/LOG-7889
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Clee2691 Once this PR has been reviewed and has the lgtm label, please assign alanconway for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
/test all
@Clee2691: all tests passed!
Full PR test history. Your PR dashboard.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.
PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.