Skip to content

AWS Lambda support does not work with nodejs24.x Lambda runtime #4972

Description

@trentm

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions