Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/serverless
SDK Version
7.86.0
Framework Version
Node 16
Link to Sentry event
SDK Setup
Initialisation:
Sentry.AWSLambda.init({
dsn: process.env.SENTRY_DSN,
environment: process.env.SENTRY_ENVIRONMENT,
});
Handler Instrumentation:
export const handler = Sentry.AWSLambda.wrapHandler(
(event) => { ... },
{
timeoutWarningLimit: 48000 // 80% of the 1min timeout
}
)
Steps to Reproduce
The lambda in the linked event has a timeout of 1 minute. We configure the timeout warning to occur at 80% (48 seconds). The lambda in the linked event ran for 20s and we received the timeout warning.
Expected Result
No warning at 20s runtime
Actual Result
Please see linked event
Metadata
Metadata
Assignees
Type
Projects
Status
No status