PricingBlogDocumentationDocsRegister

Connect your AWS Lambda project to GlitchTip

You can use the AWS Lambda integration for the Python SDK like this:

import sentry_sdk
from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration

sentry_sdk.init(
    dsn="your DSN here",
    integrations=[AwsLambdaIntegration()]
)

def my_function(event, context):
    ...

Note

If you are using another web framework inside of AWS Lambda, the framework might catch those exceptions before we get to see them. Make sure to enable the framework specific integration as well, if one exists.