In Nov 2025, AWS released the nodejs24.x Lambda runtime: https://aws.amazon.com/blogs/compute/node-js-24-runtime-now-available-in-aws-lambda/
The Elastic Node.js APM agent support for Lambda does not work with this runtime.
A symptom of the failure will be the "Dropping lambda data due to error: metadata is not yet available" message in your Lambda logs, e.g.:
{"log.level":"warn","@timestamp":"2026-02-18T01:01:40.646Z","log.origin":{"function":"github.com/elastic/apm-aws-lambda/apmproxy.(*Client).ForwardLambdaData","file.name":"apmproxy/apmserver.go","file.line":364},"message":"Dropping lambda data due to error: metadata is not yet available","ecs.version":"1.6.0"}
The workaround for now is to stay with the nodejs22.x Lambda runtime.
In Nov 2025, AWS released the
nodejs24.xLambda runtime: https://aws.amazon.com/blogs/compute/node-js-24-runtime-now-available-in-aws-lambda/The Elastic Node.js APM agent support for Lambda does not work with this runtime.
A symptom of the failure will be the "Dropping lambda data due to error: metadata is not yet available" message in your Lambda logs, e.g.:
The workaround for now is to stay with the
nodejs22.xLambda runtime.