Description
Problem Statement
Currently the Lambda Layer setup instructions for serverless functions suggest that errors and performance is automatically enabled:
You can configure Sentry by setting these environment variables for your Lambda function:
SENTRY_INITIAL_HANDLER
: The handler function of your AWS Lambda funtion.
SENTRY_DSN
: This is set to the DSN of your project
SENTRY_TRACES_SAMPLE_RATE
: This sets the sampling rate for transactions.
(I assume this applies to both Node and Python. The Node lambda layer docs are not explicit about what you get out of the box)
Beyond the above, though, it seems profiling has to be manually set up for Node lambdas and I believe also for Python lambdas. This manual step can be difficult when a customer has, say 1000 lambdas and doesn't want to instrument them all with profiling individually.
Solution Brainstorm
Add a configuration option for Node and Python profiling in the lambda layer.
Product Area
Profiling
Metadata
Metadata
Assignees
Type
Projects
Status
Status