Notes
- Records AWS Lambda
platform.faultlog event type, which captures when the AWS Lambda platform shutdown is triggered. - Updates Extension's dependency version github-go from
v44.1.0tov68.0.0. - Updates Extension's dependency version golang.org/x/net from
0.30.0to0.33.0.
Notes
Javaruntime support improvements - automatic detection and proper mode routingEnhanced log processing reliability - ensures all logs are properly tagged before sending
Reduced resource usage by optimizing channel creation
Improved
log processingefficiency
Fixed
Java agent version reporting
Log metadata stamping for
pre-invokelogsUnnecessary warning messages in
APM mode
Notes
Configuration: Add support for
NEW_RELIC_EXTENSION_SEND_PLATFORM_LOGSEnvironment variableMetadata: Add tags to entity for
Extension versionandAgent versionLogging: Change secondary
Log levelto DEBUG
Fixed
Runtime Detection: Enhance runtime detection logic for improved agent compatibility
Telemetry: Implement global fallback ARN handling across telemetry components
Validation: Update code for additional checks
Notes
Implemented pre-invoke log buffering with metadata validation and fallback ARN support
Removed debug log for buffering in
pre-invokebufferAdded fallback code for
Aws-arn
Fixed
- Remove
License keyexposure from CloudWatch logs
Notes
Improved panic handling in main function to ensure Lambda continue
Added new telemetry buffer for
APMmode andShutdownlogsEnhanced versioning support and logging in
APMmode
Fixed
Updated platform report line to send as
jsoninstead of compressedEU endpoint detection for license keys fetched from
SSM/Secrets Manager
New feature
- Sends Extension log events to New Relic by setting the environment variable
NEW_RELIC_EXTENSION_SEND_EXTENSION_LOGStotrue. This is in addition to sending function log events, which can be enabled by setting the environment variableNEW_RELIC_EXTENSION_SEND_FUNCTION_LOGStotrue.
Notes
- Adds examples for containerized lambda using
SAM. - Updates examples to use IAM policy as per least privileged policy.
- Updates Extension's Golang version and dependency versions such as bump google.golang.org/protobuf from
1.30.0to1.33.0and golang.org/x/net from0.17.0to0.23.0.
Notes
Adds a feature to ignore extension startup checks using the Lambda environment variable
NEW_RELIC_IGNORE_EXTENSION_CHECKS. You can ignore selected extension checks by using a comma-separated value. For example,agent,handlerwill ignore agent and handler extension checks. Useallto ignore all extension checks. We recommended you ignoreallextension checks after you've successfully instrumented the Lambda function.Updates information about environment variable
NR_TAGSin the Readme. You can useNR_TAGSto add tags to all the Lambda log events.Introduces support for the
NEW_RELIC_ENABLEDenvironment variable which you can use to disable Agent. TheNEW_RELIC_ENABLEDhas theenv booltype.
Fixed issue
- Fixed docker handler warning issue for containerized lambda.
Notes
Introduces support for Ruby Lambda runtime.
Adds tags for logs, and introduces environment variables to configure custom attributes or other metadata when sending logs directly using extension. Use
NR_TAGS&NR_ENV_DELIMITERenvironment variables similar to thelog-ingestion-lambdato add metadata to the logs.Removes debug logs which get printed for each log line. Modifies confusing message log - mainLoop: blocking is confusing customer and adds payloadSize to the log message
Telemetry client error: %s, payload size: %d bytes".Updates on .NET Extension example to use newly released New Relic .NET Lambda layer instead of OpenTracing.
Updates on readme build step. Updated target for make command, example
make dist-x86_64andmake dist-arm64.
Fixed issue
- Fixed
NR_EXTlog lines. The extension will not print anyNR_EXTline whenlogsEnabledis false, including the startup line #226.
Notes
Adds local testing for Extension. Local testing is enabled by setting
NEWRELIC_LOCAL_TESTINGtotrue. Currently it supports Python runtime only, and generates Lambda layers forx86andarmarchitectures usingpublish.shand invokes the test Lambdas usingtest.shscript.Removes
SSM parameter storecalls. Extension has sanitycheck calls toSSM storethat adds to production quotas for customers. CallSSM storeonly whenNEW_RELIC_LICENSE_KEY_SSM_PARAMETER_NAMEvar is set totrue.Adds timeout for calls to
Secrets Manager&SSM Parameter Store.Gives priority to
NEW_RELIC_LICENSE_KEYand bypass calls toSecrets ManagerifNEW_RELIC_LICENSE_KEYis set.
Fixed issue
- Resolved Extension warning messages for Node.js runtime with ESM scripts. Previously, correctly configuring
newrelic-lambda-wrapper.handlerandNEW_RELIC_LAMBDA_HANDLERdid not eliminate warning message for the Node.js ESM scripts. The solution involved usingNEW_RELIC_USE_ESMto detect ESM scripts #209.
Fixed issues
Fixed crashing on closed pipe caused by race condition during extension startup.
Fixed crashing on write to closed channel due to race condition during extension shutdown.
Fixed handler checks for Docker and ESM JS environments.
Minor version bump for Go grpc, Go net, and JAVA gson.