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
* add support for java and .net lambda functions
* adds java example
* adds .net example
* formatting
* update documentation for .net and java
* minor updates to documentation
* add comment with option for building dotnet example with arm64 architecture
@@ -119,6 +174,8 @@ Use the following variables to select the versions of the Datadog Lambda layers
119
174
| Variable | Description |
120
175
| -------- | ----------- |
121
176
|`datadog_extension_layer_version`| Version of the [Datadog Lambda Extension layer](https://github.com/DataDog/datadog-lambda-extension/releases) to install |
177
+
|`datadog_dotnet_layer_version`| Version of the [Datadog .NET Lambda layer](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases) to install |
178
+
|`datadog_java_layer_version`| Version of the [Datadog Java Lambda layer](https://github.com/DataDog/datadog-lambda-java/releases) to install |
122
179
|`datadog_node_layer_version`| Version of the [Datadog Node Lambda layer](https://github.com/DataDog/datadog-lambda-js/releases) to install |
123
180
|`datadog_python_layer_version`| Version of the [Datadog Python Lambda layer](https://github.com/DataDog/datadog-lambda-python/releases) to install |
124
181
@@ -132,6 +189,8 @@ Use Environment variables to configure Datadog Serverless Monitoring. Refer to t
| <aname="input_architectures"></a> [architectures](#input\_architectures)| Instruction set architecture for your Lambda function. Valid values are ["x86\_64"] and ["arm64"]. |`list(string)`| <pre>["x86_64"]</pre> | no |
168
227
| <aname="input_code_signing_config_arn"></a> [code\_signing\_config\_arn](#input\_code\_signing\_config\_arn)| To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration includes a set of signing profiles, which define the trusted publishers for this function. |`string`|`null`| no |
169
228
| <aname="input_datadog_extension_layer_version"></a> [datadog\_extension\_layer\_version](#input\_datadog\_extension\_layer\_version)| Version for the Datadog Extension Layer |`number`|`58`| no |
229
+
| <aname="input_datadog_dotnet_layer_version"></a> [datadog\_dotnet\_layer\_version](#input\_datadog\_dotnet\_layer\_version)| Version for the Datadog .NET Layer |`number`|`15`| no |
230
+
| <aname="input_datadog_java_layer_version"></a> [datadog\_java\_layer\_version](#input\_datadog\_java\_layer\_version)| Version for the Datadog Java Layer |`number`|`14`| no |
170
231
| <aname="input_datadog_node_layer_version"></a> [datadog\_node\_layer\_version](#input\_datadog\_node\_layer\_version)| Version for the Datadog Node Layer |`number`|`112`| no |
171
232
| <aname="input_datadog_python_layer_version"></a> [datadog\_python\_layer\_version](#input\_datadog\_python\_layer\_version)| Version for the Datadog Python Layer |`number`|`95`| no |
172
233
| <aname="input_dead_letter_config_target_arn"></a> [dead\_letter\_config\_target\_arn](#input\_dead\_letter\_config\_target\_arn)| ARN of an SNS topic or SQS queue to notify when an invocation fails. |`string`|`null`| no |
A simple .NET Lambda function with out of the box Datadog instrumentation.
4
+
5
+
## Usage
6
+
7
+
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
9
+
* Create a `terraform.tfvars` file
10
+
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
+
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
61
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog |`string`| n/a | yes |
62
+
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
63
+
64
+
## Outputs
65
+
66
+
| Name | Description |
67
+
|------|-------------|
68
+
| <aname="output_arn"></a> [arn](#output\_arn)| Amazon Resource Name (ARN) identifying your Lambda Function. |
69
+
| <aname="output_function_name"></a> [function\_name](#output\_function\_name)| Unique name for your Lambda Function |
70
+
| <aname="output_invoke_arn"></a> [invoke\_arn](#output\_invoke\_arn)| ARN to be used for invoking Lambda Function from API Gateway. |
A simple Java Lambda function with out of the box Datadog instrumentation.
4
+
5
+
## Usage
6
+
7
+
* Create a [Datadog API Key](https://app.datadoghq.com/organization-settings/api-keys)
8
+
* Create a secret in [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html) and add the Datadog API Key as the secret value in plaintext
9
+
* Create a `terraform.tfvars` file
10
+
- Set the `datadog_secret_arn` to the arn of the secret you just created
11
+
- Set the `datadog_service_name` to the name of the service you want to use to filter for the resource in Datadog
12
+
- Set the `datadog_site` to the [Datadog destination site](https://docs.datadoghq.com/getting_started/site/) for your metrics, traces, and logs
| <aname="input_datadog_secret_arn"></a> [datadog\_secret\_arn](#input\_datadog\_secret\_arn)| Secret for Datadog API Key |`string`| n/a | yes |
58
+
| <aname="input_datadog_service_name"></a> [datadog\_service\_name](#input\_datadog\_service\_name)| Service used to filter for resources in Datadog |`string`| n/a | yes |
59
+
| <aname="input_datadog_site"></a> [datadog\_site](#input\_datadog\_site)| Destination site for your metrics, traces, and logs |`string`| n/a | yes |
60
+
61
+
## Outputs
62
+
63
+
| Name | Description |
64
+
|------|-------------|
65
+
| <aname="output_arn"></a> [arn](#output\_arn)| Amazon Resource Name (ARN) identifying your Lambda Function. |
66
+
| <aname="output_function_name"></a> [function\_name](#output\_function\_name)| Unique name for your Lambda Function |
67
+
| <aname="output_invoke_arn"></a> [invoke\_arn](#output\_invoke\_arn)| ARN to be used for invoking Lambda Function from API Gateway. |
0 commit comments