Skip to content

AWS Lambda support #939

@lcian

Description

@lcian

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 #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.

Metadata

Metadata

Labels

FeatureRequest for a new featureRustSDK

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions