Notes
Added logic to check the shutdown of
logserverand prevent handler from sending messages to log channelRemove Circle CI workflow
Fixed
- Add
WaitGroupto resolvelog server panicresulting from multiple log server handlers sending logs to closed channel
Notes
Updates go version to resolve
go/stdlibvulnerabilityUpdates example for AI monitoring in response streaming
Updates local testing
newrelic_lambda_wrappercodeUpdates
ubunturunnerUpdates Extension build to avoid error
/lib64/libc.so.6: versionGLIBC_X.YZnot found.Bump axios from
1.7.7to1.8.2in /examples/sam/containerized-lambda/nodejs-sam-example/hello-worldBump golang.org/x/net from
0.33.0to0.38.0
Notes
Added example for New Relic AI monitoring, along with instrumentation of Lambda functions with response streaming
Updated
SAMexamples to include latest layers and packagesUpdated
RubyLambda instrumentation exampleUpdated Readme to include
NEW_RELIC_COLLECT_TRACE_IDenvironment variable which can be used to addtrace-idto the Lambda logs
Fixed issues
Resolved the issue where Extension inaccurately captured timeout durations for Lambda function timeout errors
Updated sleep time to solve intermittent issue with unit test
TestClientSendRetry
New feature
- Add
trace.idto Lambda logs when the Lambda environment variableNEW_RELIC_COLLECT_TRACE_IDis set totrue
Notes
- Add publish script for Extension only Lambda Layer, intended for local testing of Extension
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.
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.