Skip to content
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

fix(operator): Disable log level discovery for OpenShift tenancy modes #14613

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

xperimental
Copy link
Collaborator

What this PR does / why we need it:

Loki recently introduced an automatic log level discovery, that aims to provide the log level of an entry if it was not provided. For OpenShift Logging this causes confusion because the collector already has a log level discovery included, but it uses a different field, so there are sometimes two disagreeing log levels on an event which is confusing.

This PR disables the log level discovery for OpenShift tenancy modes to avoid this issue.

Which issue(s) this PR fixes:

LOG-6286

Special notes for your reviewer:

  • This also disables the discovery for the openshift-network tenancy mode, because that mode uses Loki for non-logging data, which does not need this field.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Tests updated
  • Title matches the required conventional commits format, see here

Copy link
Collaborator

@JoaoBraveCoding JoaoBraveCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants