From c248643acf765b48032e6921f0e9ef394dc0cc47 Mon Sep 17 00:00:00 2001 From: Alan Storm Date: Mon, 15 Nov 2021 13:05:22 -0800 Subject: [PATCH 1/2] feat: add overview section with main steps --- docs/aws-lambda-extension.asciidoc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/aws-lambda-extension.asciidoc b/docs/aws-lambda-extension.asciidoc index af9ae944..bcdc7b33 100644 --- a/docs/aws-lambda-extension.asciidoc +++ b/docs/aws-lambda-extension.asciidoc @@ -12,10 +12,21 @@ image:images/data-flow.png[image showing data flow from lambda function, to exte By using a custom-built AWS Lambda Extension, Elastic APM Agents can send data to a locally running Lambda Extension process, and that process will forward data on to APM Server. The Lambda Extension ensures that any latency between the Lambda function and the AWS Server instance will not cause latency in the Lambda function/Service itself. +== Instrumenting a Lambda Function + +The rest of this guide contains instructions for instrumenting a Lambda function. There are two high level steps to instrumenting an AWS Lambda function. + +1. Install the Lambda extension +2. Configure the Agent and Lambda function handler + +We'll start with installing the Lambda extension. + [[aws-lambda-install]] == Installing the Lambda Extension -Elastic offers an installer for adding the Lambda Extension to your Lambda functions. This installer will: +Elastic offers an installer for adding the Lambda Extension to your Lambda functions. (If you'd prefer to skip the installer and manually install the extension, see the <> section below) + +This installer will: 1. Compile the Lambda Extension from source (written in go) 2. Publish the Lambda Extension as a layer From 3d1d9794af2419604fb40fada0aba277754f25ef Mon Sep 17 00:00:00 2001 From: Alan Storm Date: Mon, 15 Nov 2021 13:09:05 -0800 Subject: [PATCH 2/2] fix: punctuation --- docs/aws-lambda-extension.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/aws-lambda-extension.asciidoc b/docs/aws-lambda-extension.asciidoc index bcdc7b33..4f7b412d 100644 --- a/docs/aws-lambda-extension.asciidoc +++ b/docs/aws-lambda-extension.asciidoc @@ -24,7 +24,7 @@ We'll start with installing the Lambda extension. [[aws-lambda-install]] == Installing the Lambda Extension -Elastic offers an installer for adding the Lambda Extension to your Lambda functions. (If you'd prefer to skip the installer and manually install the extension, see the <> section below) +Elastic offers an installer for adding the Lambda Extension to your Lambda functions. (If you'd prefer to skip the installer and manually install the extension, see the <> section below.) This installer will: