You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/serverless.asciidoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,17 @@ Follow the steps below to setup Elastic APM for your AWS Lambda Python functions
12
12
You need an APM Server to send APM data to. Follow the {apm-guide-ref}/apm-quick-start.html[APM Quick start] if you have not set one up yet. For the best-possible performance, we recommend setting up APM on {ecloud} in the same AWS region as your AWS Lambda functions.
Add the {apm-guide-ref}/aws-lambda-arch.html[APM Lambda Extension] as an https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html[AWS Lambda Layer] to your AWS Lambda function.
19
+
Add the {apm-guide-ref}/aws-lambda-arch.html[{apm-lambda-ext}] as an https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html[AWS Lambda Layer] to your AWS Lambda function.
You need to add `elastic-apm` as a dependency for your python function.
28
28
Depending on your deployment strategy, this could be as easy as adding
@@ -49,7 +49,7 @@ def handler(event, context):
49
49
[float]
50
50
==== Step 3: Configure APM on AWS Lambda
51
51
52
-
The APM Lambda Extension and the APM Python agent are configured through environment variables on the AWS Lambda function.
52
+
The {apm-lambda-ext} and the APM Python agent are configured through environment variables on the AWS Lambda function.
53
53
54
54
For the minimal configuration, you will need the _APM Server URL_ to set the destination for APM data and an _{apm-guide-ref}/secret-token.html[APM Secret Token]_.
55
55
If you prefer to use an {apm-guide-ref}/api-key.html[APM API key] instead of the APM secret token, use the `ELASTIC_APM_API_KEY` environment variable instead of `ELASTIC_APM_SECRET_TOKEN` in the following configuration.
@@ -58,7 +58,7 @@ For production environments, we recommend {apm-guide-ref}/aws-lambda-secrets-man
You can optionally <<configuration,fine-tune the Python agent>> or the {apm-guide-ref}/aws-lambda-config-options.html[configuration of the APM Lambda Extension].
61
+
You can optionally <<configuration,fine-tune the Python agent>> or the {apm-guide-ref}/aws-lambda-config-options.html[configuration of the {apm-lambda-ext}].
62
62
63
63
That's it; Once the agent is installed and working, spans will be captured for
64
64
<<supported-technologies,supported technologies>>. You can also use
0 commit comments