Add log level support and decrease info level verbosity#701
Open
michaelprice232 wants to merge 1 commit intonewrelic:mainfrom
Open
Add log level support and decrease info level verbosity#701michaelprice232 wants to merge 1 commit intonewrelic:mainfrom
michaelprice232 wants to merge 1 commit intonewrelic:mainfrom
Conversation
1d445d3 to
09d9cdb
Compare
michaelprice232
added a commit
to michaelprice232/docs-website
that referenced
this pull request
Feb 16, 2026
Depends on newrelic/k8s-metadata-injection#701 being merged first, which updates the logging strategy of the k8s-metadata-injection mutating web hook component.
michaelprice232
added a commit
to michaelprice232/docs-website
that referenced
this pull request
Feb 16, 2026
Depends on newrelic/k8s-metadata-injection#701 being merged first, which updates the logging strategy of the k8s-metadata-injection mutating web hook component.
This file contains hidden or 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
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
Aims to resolve #700
Following an investigation into log levels in our CI K8s cluster - which uses ephemeral CI runners so there are lots of pod create events - we uncovered the following:
This PR aims to address the above concerns by:
Also updated the Helm chart to add the new environment variable -
NEW_RELIC_K8S_METADATA_INJECTION_LOG_LEVEL- which defaults to INFO level.Added some basic unit and Helm tests. As part of manual testing locally I deployed the config into a Minikube cluster and then provisioned some pods.
Using the default INFO log level:
Using the DEBUG log level you can see the previous log entries which have been left untouched.
I noted there are some docs which explicitly call out the log line entries. I've added a PR for that repo: newrelic/docs-website#23044.
Type of change
Checklist: