feat: added support for log format using NEW_RELIC_FORMAT_LOGS.#128
Merged
nr-rkallempudi merged 8 commits intonewrelic:masterfrom Oct 30, 2025
Merged
feat: added support for log format using NEW_RELIC_FORMAT_LOGS.#128nr-rkallempudi merged 8 commits intonewrelic:masterfrom
nr-rkallempudi merged 8 commits intonewrelic:masterfrom
Conversation
nr-rkallempudi
requested changes
Oct 16, 2025
maya-jha
requested changes
Oct 16, 2025
maya-jha
reviewed
Oct 24, 2025
hrai-nr
previously approved these changes
Oct 30, 2025
Contributor
hrai-nr
left a comment
There was a problem hiding this comment.
Approving based on comments made earlier and discussion with @Sashwatdas123
hrai-nr
previously approved these changes
Oct 30, 2025
hrai-nr
approved these changes
Oct 30, 2025
nr-rkallempudi
approved these changes
Oct 30, 2025
maya-jha
reviewed
Nov 4, 2025
|
|
||
| LAMBDA_LOG_GROUP_PREFIX = os.getenv("NR_LAMBDA_LOG_GROUP_PREFIX", "/aws/lambda") | ||
| VPC_LOG_GROUP_PREFIX = os.getenv("NR_VPC_LOG_GROUP_PREFIX", "/aws/vpc/flow-logs") | ||
| NEW_RELIC_FORMAT_LOGS = os.getenv("NEW_RELIC_FORMAT_LOGS", "false").lower() == "true" |
There was a problem hiding this comment.
Why did we add this environment variable? Do we want to disable this by default?
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.
Detail: The log-ingestion Lambda was unable to process the unique payload formats generated by .NET Lambda functions, leading to integration issues with New Relic. These payloads differed from those initially supported, causing disruptions in data parsing and instrumentation.
Solution: This PR updates the log-ingestion lambda function to support the specific .NET payload formats, resolving the compatibility issue. By implementing the necessary changes, .NET Lambda functions can now integrate seamlessly with New Relic, restoring proper functionality and instrumentation.