Skip to content

Commit 1500808

Browse files
antonpirkerlizokm
andauthored
Updated Python AWS Lambda docs ... (#9407)
Updated Python AWS Lambda docs to make less confusing which way to choose to instrument your Python based AWS Lambda functions. --------- Co-authored-by: Liza Mock <[email protected]>
1 parent 7c16d6e commit 1500808

File tree

4 files changed

+33
-12
lines changed

4 files changed

+33
-12
lines changed

docs/platforms/python/integrations/aws-lambda/container-image/index.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ sidebar_order: 3000
77
<Alert level="warning" title="Deprecation Notice">
88

99
The Python AWS Lambda Container Image is deprecated.
10-
Instead, please either use the <PlatformLink to="/integrations/aws-lambda/manual-layer/">Sentry AWS Lambda Layer</PlatformLink> or set up <PlatformLink to="/integrations/aws-lambda/manual-instrumentation/">Manual AWS Lambda Instrumentation</PlatformLink>.
10+
11+
Please instrument your AWS Lambda function in one of the following ways instead:
12+
13+
- **Without touching your code:**
14+
This method can be instrumented from the Sentry product by those who have access to the AWS infrastructure and doesn't require that you make any direct updates to the code. See the [AWS Lambda guide](/product/integrations/cloud-monitoring/aws-lambda/).
15+
- **By adding the Sentry Lambda Layer to your function manually:**
16+
While this is a quick way to add Sentry to your AWS Lambda function, it gives you limited configuration possibilities with environment vars. See <PlatformLink to="/integrations/aws-lambda/manual-layer/">AWS Lambda Layer</PlatformLink>.
17+
- **By manually adding Sentry to your function code:**
18+
This method requires that you install the Sentry SDK into your AWS Lambda function packages. While it takes more effort to set up, it gives you full control of your setup and manual instrumentation. See <PlatformLink to="/integrations/aws-lambda/manual-instrumentation/">AWS Lambda manual instrumentation</PlatformLink>.
1119

1220
</Alert>
1321

docs/platforms/python/integrations/aws-lambda/index.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ description: "Learn about using Sentry with AWS Lambda."
55

66
You can instrument your AWS Lambda functions in several different ways:
77

8-
- **Without touching your code.** This is configurable from within the Sentry product. See the [AWS Lambda Cloud Monitoring Product Guide](/product/integrations/cloud-monitoring/aws-lambda/).
9-
- **By adding the Sentry Lambda Layer manually to your function.** See <PlatformLink to="/integrations/aws-lambda/manual-layer/">AWS Lambda Layer</PlatformLink>.
10-
- **By manually adding Sentry in your function code.** See <PlatformLink to="/integrations/aws-lambda/manual-instrumentation/">AWS Lambda Manual Instrumentation</PlatformLink>.
11-
- **By adding Sentry to your AWS Lambda container image.** See <PlatformLink to="/integrations/aws-lambda/container-image/">AWS Lambda Container Image</PlatformLink>.
8+
- **Without touching your code:**
9+
This method can be instrumented from the Sentry product by those who have access to the AWS infrastructure and doesn't require that you make any direct updates to the code. See the [AWS Lambda guide](/product/integrations/cloud-monitoring/aws-lambda/).
10+
- **By adding the Sentry Lambda Layer to your function manually:**
11+
While this is a quick way to add Sentry to your AWS Lambda function, it gives you limited configuration possibilities with environment vars. See <PlatformLink to="/integrations/aws-lambda/manual-layer/">AWS Lambda Layer</PlatformLink>.
12+
- **By manually adding Sentry to your function code:**
13+
This method requires that you install the Sentry SDK into your AWS Lambda function packages. While it takes more effort to set up, it gives you full control of your setup and manual instrumentation. See <PlatformLink to="/integrations/aws-lambda/manual-instrumentation/">AWS Lambda manual instrumentation</PlatformLink>.

docs/platforms/python/integrations/aws-lambda/manual-instrumentation/index.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ description: "Learn about instrumenting your AWS lambda function manually using
44
sidebar_order: 2000
55
---
66

7-
<Note>
7+
This guide walks you through how to manually add Sentry to your AWS Lambda function by installing the Sentry SDK into your AWS Lambda function packages. While this method takes more effort, it gives you full control of your Sentry setup and manual instrumentation.
88

9-
We also support:
109

11-
- [Adding Sentry without modifying your code](/product/integrations/cloud-monitoring/aws-lambda/)
12-
- [Installing Sentry in the Lambda Layer](/platforms/python/integrations/aws-lambda/manual-layer/)
13-
- [Installing Sentry as a container image](/platforms/python/integrations/aws-lambda/container-image/)
1410

15-
</Note>
11+
You can also configure this function in one of the two ways described below:
12+
13+
14+
- **Without touching your code:**
15+
This method can be instrumented from the Sentry product by those who have access to the AWS infrastructure and doesn't require that you make any direct updates to the code. See the [AWS Lambda guide](/product/integrations/cloud-monitoring/aws-lambda/).
16+
- **By adding the Sentry Lambda Layer to your function manually:**
17+
While this is a quick way to add Sentry to your AWS Lambda function, it gives you limited configuration possibilities with environment vars. See <PlatformLink to="/integrations/aws-lambda/manual-layer/">AWS Lambda Layer</PlatformLink>.
1618

1719
## Install
1820

docs/platforms/python/integrations/aws-lambda/manual-layer/index.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ description: "Learn how to manually set up Sentry with a Layer"
44
sidebar_order: 1000
55
---
66

7-
You can add Sentry to your AWS Lambda function by adding the Sentry AWS Lambda Layer to your function.
7+
This guide walks you through how to add Sentry to your AWS Lambda function by adding the Sentry AWS Lambda layer. This method can be instrumented from the Sentry product by those who have access to the AWS infrastructure and doesn't require that you make any direct updates to the code.
8+
9+
10+
You can also configure this function in one of the two ways described below:
11+
12+
- **Without touching your code:**
13+
This method can be instrumented from the Sentry product by those who have access to the AWS infrastructure and doesn't require that you make any direct updates to the code. See the [AWS Lambda guide](/product/integrations/cloud-monitoring/aws-lambda/).
14+
- **By adding the Sentry Lambda Layer to your function manually:**
15+
While this is a quick way to add Sentry to your AWS Lambda function, it gives you limited configuration possibilities with environment vars. See <PlatformLink to="/integrations/aws-lambda/manual-layer/">AWS Lambda Layer</PlatformLink>.
16+
817

918
## Install The Layer
1019

0 commit comments

Comments
 (0)