sentry-rust icon indicating copy to clipboard operation
sentry-rust copied to clipboard

AWS Lambda support

Open lcian opened this issue 1 month ago • 1 comments

Problem Statement

A couple days ago, AWS announced that Rust lambdas are GA: https://aws.amazon.com/blogs/compute/building-serverless-applications-with-rust-on-aws-lambda/ It would be nice to confirm that we support this environment.

Solution Brainstorm

This likely doesn't require much work, but it would be good to check that at least the panic and tracing integrations work as expected there.

A known issue to address is that the tooling that AWS itself suggests (cargo-lambda) builds in a way that doesn't allow the SDK to detect the debug ID from the binary. This means that users that strip debug symbols will see unsymbolicated stack traces in Sentry. This issue was reported here https://github.com/getsentry/sentry-rust/issues/924. It can be addressed by making it more prominent in the docs that this is a problem and how to fix this, and possibly by proposing a change to cargo-lambda to build with the necessary flag by default.

lcian avatar Nov 17 '25 14:11 lcian

RUST-127

linear[bot] avatar Nov 17 '25 14:11 linear[bot]