Skip to content

Commit b07724c

Browse files
committed
misc
1 parent d8583a6 commit b07724c

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

content/en/serverless/custom_metrics/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ end
133133
{{< /programming-lang >}}
134134
{{< programming-lang lang="other" >}}
135135

136-
[Install][14] the DogStatsD client for your runtime and follow the [sample code][15] to submit your custom metrics. Note: For accurate results, you must use [**distribution**](#understanding-distribution-metrics).
136+
[Install][12] the DogStatsD client for your runtime and follow the [sample code][13] to submit your custom metrics. Note: For accurate results, you must use [**distribution**](#understanding-distribution-metrics).
137137

138138
{{< /programming-lang >}}
139139
{{< /programming-lang-wrapper >}}

content/en/serverless/installation/dotnet.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ To install and configure the Datadog Serverless Plugin, follow these steps:
139139

140140
3. Set the required environment variables
141141

142+
- Set `AWS_LAMBDA_EXEC_WRAPPER` to `/opt/datadog_wrapper`.
142143
- Set the environment variable `DD_SITE` with your [Datadog site][3] to send the telemetry to.
143144
- Set the environment variable `DD_API_KEY_SECRET_ARN` with the ARN of the AWS secret where your [Datadog API key][4] is securely stored. The key needs to be stored as a plaintext string, instead of being inside a json blob. The `secretsmanager:GetSecretValue` permission is required. For quick testings, you can use `DD_API_KEY` instead and set the Datadog API key in plaintext.
144145

@@ -161,16 +162,11 @@ To install and configure the Datadog Serverless Plugin, follow these steps:
161162

162163
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:dd-trace-dotnet:{{< latest-lambda-layer-version layer="dd-trace-dotnet" >}}`
163164

164-
3. Configure your Lambda function with the following environment variables:
165-
166-
```
167-
DD_SITE = <DD_SITE>
168-
DD_API_KEY_SECRET_ARN = <DD_API_KEY_SECRET_ARN>
169-
```
170-
171-
- Replace `<DD_SITE>` with your [Datadog site][2] to send the telemetry to.
172-
- Replace `<DD_API_KEY_SECRET_ARN>` with the ARN of the AWS secret where your [Datadog API key][3] is securely stored. The key needs to be stored as a plaintext string, instead of being inside a json blob. The `secretsmanager:GetSecretValue` permission is required. For quick testings, you can use `DD_API_KEY` instead and set the Datadog API key in plaintext.
165+
3. Set the required environment variables
173166

167+
- Set `AWS_LAMBDA_EXEC_WRAPPER` to `/opt/datadog_wrapper`.
168+
- Set `DD_SITE` to your [Datadog site][2] to send the telemetry to.
169+
- Set `DD_API_KEY_SECRET_ARN` to the ARN of the AWS secret where your [Datadog API key][3] is securely stored. The key needs to be stored as a plaintext string, instead of being inside a json blob. The `secretsmanager:GetSecretValue` permission is required. For quick testings, you can use `DD_API_KEY` instead and set the Datadog API key in plaintext.
174170

175171
[1]: https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
176172
[2]: https://docs.datadoghq.com/getting_started/site/

content/en/serverless/installation/java.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ To install and configure the Datadog Serverless Plugin, follow these steps:
139139

140140
3. Set the required environment variables
141141

142+
- Set `AWS_LAMBDA_EXEC_WRAPPER` to `/opt/datadog_wrapper`.
142143
- Set `DD_SITE` to your [Datadog site][2] to send the telemetry to.
143144
- Set `DD_API_KEY_SECRET_ARN` to the ARN of the AWS secret where your [Datadog API key][3] is securely stored. The key needs to be stored as a plaintext string, instead of being inside a json blob. The `secretsmanager:GetSecretValue` permission is required. For quick testings, you can use `DD_API_KEY` instead and set the Datadog API key in plaintext.
144145

@@ -162,6 +163,7 @@ To install and configure the Datadog Serverless Plugin, follow these steps:
162163

163164
3. Set the required environment variables
164165

166+
- Set `AWS_LAMBDA_EXEC_WRAPPER` to `/opt/datadog_wrapper`.
165167
- Set `DD_SITE` to your [Datadog site][2] to send the telemetry to.
166168
- Set `DD_API_KEY_SECRET_ARN` to the ARN of the AWS secret where your [Datadog API key][3] is securely stored. The key needs to be stored as a plaintext string, instead of being inside a json blob. The `secretsmanager:GetSecretValue` permission is required. For quick testings, you can use `DD_API_KEY` instead and set the Datadog API key in plaintext.
167169

0 commit comments

Comments
 (0)