Skip to content

Sentry AwsLambdaIntegration #1

@ecanuto

Description

@ecanuto

Maybe we can use this AwsLambdaIntegration plugin:

https://sentry.io/for/python-aws-lambda/

import sentry_sdk
from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration

sentry_sdk.init(
    dsn="__PUBLIC_DSN__",
    integrations=[AwsLambdaIntegration()],
    traces_sample_rate=1.0, # adjust the sample rate in production as needed
)

def my_function(event, context):
    # ...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions