File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 3
3
import boto3
4
4
import time
5
5
import os
6
- import sentry_sdk
7
- from sentry_sdk .integrations .aws_lambda import AwsLambdaIntegration
6
+ # import sentry_sdk
7
+ # from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration
8
8
9
- SENTRY_DSN = os .environ ['SENTRY_DSN' ]
9
+ # SENTRY_DSN = os.environ['SENTRY_DSN']
10
10
11
- sentry_sdk .init (
12
- dsn = SENTRY_DSN ,
13
- integrations = [AwsLambdaIntegration (timeout_warning = True )]
14
- # To set a uniform sample rate
15
- traces_sample_rate = 1.0 ,
16
- )
11
+ # sentry_sdk.init(
12
+ # dsn=SENTRY_DSN,
13
+ # integrations=[AwsLambdaIntegration(timeout_warning=True)]
14
+ # # To set a uniform sample rate
15
+ # traces_sample_rate=1.0,
16
+ # )
17
17
18
18
#123The distribution ID of the AWS CloudFront distribution is set as an environment variable of the function
19
19
DistributionId = os .environ ['DISTRIBUTION_ID' ]
You can’t perform that action at this time.
0 commit comments