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: content/en/serverless/aws_lambda/remote_instrumentation.md
+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
@@ -13,7 +13,7 @@ The instrumenter must be deployed to every region and account where you want to
13
13
### Prerequisites
14
14
15
15
- The [Datadog-AWS integration][1] is set up, and [resource collection][2] is enabled.
16
-
- Your user account has the following roles:
16
+
- Your user account has the following permissions:
17
17
- Serverless AWS Instrumentation Read
18
18
- Serverless AWS Instrumentation Write
19
19
- Your API key must have [Remote Configuration access][4]
@@ -37,16 +37,16 @@ The instrumenter must be deployed to every region and account where you want to
37
37
The CloudFormation stack deploys the instrumenter function, **datadog-remote-instrumenter**, into your account and region. The stack also creates a CloudTrail and some adjacent resources.
38
38
39
39
1. After the instrumenter function is deployed, select functions to instrument.
40
-
You can select functions by tag or by function name. To enable instrumentation for multiple functions at once, you could apply a custom tag (for example, `dd_serverless_instrument:true`) to all the functions you want to instrument, and use this tag to select all of your desired functions.
40
+
You can select functions by tag or by function name. To enable instrumentation for multiple functions at once, you could apply a custom tag (for example, `dd_serverless_instrument:true`) to all the functions you want to instrument, and use this tag to select all of your desired functions. Tag matching is case-insensitive.
41
41
42
42
After you finish your selections, click **Enable Remote Instrumentation**.
43
43
44
-
1. Confirm your function selections. You can also set the layer version, which is used for all future instrumentation. This version remains fixed until you manually update it. Updates can take a few minutes to be applied.
44
+
1. Confirm your function selections. You can also set layer versions and toggle logging and tracing. These settings are used for all future instrumentation and remain fixed until you manually update them. Updates can take a few minutes to be applied.
45
45
46
46
## Skipped functions
47
-
Datadog recommends that you only instrument Lambda functions with a memory size greater than 256 MB. If you are comfortable with adding layers to smaller Lambdas, you can change the setting in the CloudFormation template.
47
+
Functions that have pre-existing Datadog layers or environment variables are considered manually instrumented. Manually instrumented functions are marked `manual` and skipped by the remote instrumenter to ensure there are no layer conflicts.
48
48
49
-
The remote instrumenter also marks functions that have at least one layer with the tag `manual` and skips instrumentation to ensure there are no layer conflicts.
49
+
Datadog recommends that you only instrument Lambda functions with a memory size greater than 256 MB. To skip instrumenting smaller Lambdas, make sure they are not selected.
0 commit comments