serverless-plugin-datadog 5.0.1 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -1,11 +1,3 @@
1
- ---
2
- title: Datadog Serverless Plugin
3
- kind: documentation
4
- aliases:
5
- - /serverless/serverless_integrations/plugin/
6
- dependencies: ["https://github.com/DataDog/serverless-plugin-datadog/blob/master/README.md"]
7
- ---
8
-
9
1
  ![build](https://github.com/DataDog/serverless-plugin-datadog/workflows/build/badge.svg)
10
2
  [![Code Coverage](https://img.shields.io/codecov/c/github/DataDog/serverless-plugin-datadog)](https://codecov.io/gh/DataDog/serverless-plugin-datadog)
11
3
  [![NPM](https://img.shields.io/npm/v/serverless-plugin-datadog)](https://www.npmjs.com/package/serverless-plugin-datadog)
@@ -21,72 +13,70 @@ The plugin automatically enables instrumentation for applications to collect met
21
13
 
22
14
  ## Getting started
23
15
 
24
- To quickly get started, follow the installation instructions for [Python][1], [Node.js][2], [Ruby][3], [Java][4], [Go][5], or [.NET][6] and view your function's enhanced metrics, traces, and logs in Datadog. These instructions will get you a basic working setup. If working in Ruby or Go, further code changes are required.
16
+ To quickly get started, follow the installation instructions for [Python][1], [Node.js][2], [Ruby][3], [Java][4], [Go][5], or [.NET][6] and view your function's enhanced metrics, traces, and logs in Datadog.
17
+
18
+ After installation is complete, configure the [advanced options](https://docs.datadoghq.com/serverless/configuration) to suit your monitoring needs.
25
19
 
26
20
  ## Upgrade
27
21
 
28
22
  Each version of the plugin is published with a [specific set of versions of the Datadog Lambda layers][15]. To pick up new features and bug fixes provided by the latest versions of Datadog Lambda layers, upgrade the serverless framework plugin. Test the new version before applying it on your production applications.
29
23
 
30
- ## More configuration options
24
+ ## Configuration parameters
31
25
 
32
26
  To further configure your plugin, use the following custom parameters in your `serverless.yml`:
33
27
 
34
28
  | Parameter | Description |
35
29
  | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
36
- | `flushMetricsToLogs` | Send custom metrics by using logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true`. To use an encrypted key, set `apiKMSKey` or `apiKeySecretArn` in the configuration. `flushMetricsToLogs` is ignored when `addExtension` is true. |
37
- | `site` | Set which Datadog site to send data to. This is only used when `flushMetricsToLogs` is `false` or `addExtension` is `true`. Possible values are `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, and `ddog-gov.com`. The default is `datadoghq.com`. |
38
- | `apiKey` | Datadog API key. Required when `flushMetricsToLogs` is `false` or `addExtension` is `true`. Defining `apiKey` adds the Datadog API key directly to your Lambda functions as an environment variable. For more information about getting a Datadog API key, see the [API key documentation][7]. Can also be set through the `DATADOG_API_KEY` environment variable. |
39
- | `appKey` | Datadog app key. Only needed when the `monitors` field is defined. Can also be set through the `DATADOG_APP_KEY` environment variable. |
40
- | `apiKeySecretArn` | An alternative to using the `apiKey` field. The ARN of the secret storing the Datadog API key in AWS Secrets Manager. Use this parameter if you're storing your secrets in AWS Secrets Manager, and when `flushMetricsToLogs` is `false` or `addExtension` is `true`. If set, remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. |
41
- | `apiKMSKey` | An alternative to using the `apiKey` field. Datadog API key encrypted using KMS. Use this parameter if you're storing your secrets with KMS, and if `flushMetricsToLogs` is `false` or `addExtension` is `true`. Defining `apiKMSKey` adds the Datadog API Key directly to your Lambda functions as an environment variable. |
42
- | `captureLambdaPayload` | (Experimental) This optional setting configures Datadog ingestion for incoming and outgoing AWS Lambda payloads. Function request and response values are added as part of outgoing APM spans sent to Datadog, and require Datadog APM to be configured on your function. You can obfuscate fields in the Lambda payload by using the `replace_tags` block within `apm_config` settings in [datadog.yaml.][16] Defaults to `false`. |
43
- | `addLayers` | Whether to install the Datadog Lambda library as a layer. Defaults to `true`. Set to `false` when you plan to package the Datadog Lambda library to your function's deployment package on your own so that you can install a specific version of the Datadog Lambda library ([Python][8] or [Node.js][9]). |
44
- | `addExtension` | Whether to install the Datadog Lambda Extension as a layer. Defaults to `true`. When enabled, it's required to set the environment variable `DATADOG_API_KEY`, or the configuration values `apiKMSKey` or `apiKeySecretArn`. Learn more about the [Datadog Lambda Extension Layer][12] in the documentation. **Note:** AWS only supports Lambda Extensions for [certain runtimes][13]. |
45
- | `logLevel` | The log level, set to `DEBUG` for extended logging. |
46
- | `enableXrayTracing` | Set `true` to enable X-Ray tracing on the Lambda functions and API Gateway integrations. Defaults to `false`. |
47
- | `enableDDTracing` | Enable Datadog tracing on the Lambda function. Note: This applies only to integrations using the Datadog Extension. Defaults to `true`. |
48
- | `enableDDLogs` | Enable Datadog log collection for the Lambda function. Note: This setting has no effect on logs sent by the Datadog Forwarder. Defaults to `true`. |
49
- | `enableSourceCodeIntegration` | Enable Datadog source code integration for the function. This feature links your Github repository information to the function in Datadog and allows you to view stack traces from Datadog directly in Github. For more information, see [Source Code Integration](https://docs.datadoghq.com/integrations/guide/source-code-integration). |
50
- | `subscribeToApiGatewayLogs` | Enable automatic subscription of the Datadog Forwarder to API Gateway log groups. Defaults to `true`. |
51
- | `subscribeToHttpApiLogs` | Enable automatic subscription of the Datadog Forwarder to HTTP API log groups. Defaults to `true`. |
52
- | `subscribeToWebsocketLogs` | Enable automatic subscription of the Datadog Forwarder to WebSocket log groups. Defaults to `true`. |
53
- | `forwarderArn` | Setting this parameter subscribes the given Datadog forwarder to the Lambda functions’ CloudWatch log groups. Required when `enableDDTracing` is set to `true` unless the subscription is otherwise applied. For example, if a Datadog Forwarder subscription is applied using Datadog's AWS Integration, then `forwarderArn` is not required. |
54
- | `integrationTesting` | Set `true` when running integration tests. This bypasses the validation of the Forwarder ARN and the addition of Datadog Monitor output links. Defaults to `false`. |
55
- | `enableTags` | When set, automatically tag the Lambda functions with the `service` and `env` tags using the `service` and `stage` values from the serverless application definition. It does NOT override if a `service` or `env` tag already exists. Defaults to `true`. |
56
- | `injectLogContext` | When set, the Lambda layer automatically patches `console.log` with Datadog's tracing IDs. Defaults to `true`. |
57
- | `exclude` | When set, this plugin ignores all specified functions. Use this parameter if you have any functions that should not include Datadog functionality. Defaults to `[]`. |
58
- | `enabled` | When set to `false`, the Datadog plugin stays inactive. Defaults to `true`. You can control this option using an environment variable. For example, use `enabled: ${strToBool(${env:DD_PLUGIN_ENABLED, true})}` to activate/deactivate the plugin during deployment. Alternatively, you can also use the value passed in through `--stage` to control this option—[see example](#disable-plugin-for-particular-environment). |
59
- | `monitors` | When defined, the Datadog plugin will configure monitors for the deployed function. Requires setting `DATADOG_API_KEY` and `DATADOG_APP_KEY` in your environment. To learn how to define monitors, see [To Enable and Configure a Recommended Serverless Monitor](#to-enable-and-configure-a-recommended-serverless-monitor). |
60
- | `customHandler` | When set, the specified handler is set as the handler for all the functions. By default, the handler is set to `/opt/nodejs/node_modules/datadog-lambda-js/handler.handler` if `addLayers` is set to `true`, or `node_modules/datadog-lambda-js/dist/handler.handler` if `addLayers` is set to `false`. |
61
- | `failOnError` | When set, this plugin will throw an error if any custom Datadog monitors fail to create or update. This occurs after deploy, but will cause the result of `serverless deploy` to return a nonzero exit code (to fail user CI). Defaults to `false`. |
30
+ | `site` | Set which Datadog site to send data to, such as `datadoghq.com` (default), `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, or `ddog-gov.com`. This parameter is required when collecting telemtry using the Datadog Lambda Extension. |
31
+ | `apiKey` | [Datadog API key][7]. This parameter is required when collecting telemetry using the Datadog Lambda Extension. Alternatively, you can also set the `DATADOG_API_KEY` environment variable in your deployment environment. |
32
+ | `appKey` | Datadog app key. Only needed when the `monitors` field is defined. Alternatively, you can also set the `DATADOG_APP_KEY` environment variable in your deployment environment. |
33
+ | `apiKeySecretArn` | An alternative to using the `apiKey` field. The ARN of the secret that is storing the Datadog API key in AWS Secrets Manager. Remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. |
34
+ | `apiKMSKey` | An alternative to using the `apiKey` field. Datadog API key encrypted using KMS. Remember to add the `kms:Decrypt` permission to the Lambda execution role. |
35
+ | `env` | Tag your Datadog telemetry with the desired `env`. |
36
+ | `service` | Tag your Datadog telemetry with the desired `service`. |
37
+ | `version` | Tag your Datadog telemetry with the desired `version`. |
38
+ | `enableXrayTracing` | Set `true` to enable X-Ray tracing on the Lambda functions and API Gateway integrations. Defaults to `false`. |
39
+ | `enableDDTracing` | Enable Datadog tracing on the Lambda function. Defaults to `true`. |
40
+ | `enableDDLogs` | Enable Datadog log collection using the Lambda Extension. Defaults to `true`. Note: This setting has no effect on logs sent by the Datadog Forwarder. |
41
+ | `monitors` | When defined, the Datadog plugin configures monitors for the deployed function. Requires setting `DATADOG_API_KEY` and `DATADOG_APP_KEY` in your environment. To learn how to define monitors, see [To Enable and Configure a Recommended Serverless Monitor](#to-enable-and-configure-a-recommended-serverless-monitor). |
42
+ | `captureLambdaPayload` | [Captures incoming and outgoing AWS Lambda payloads][17] in the Datadog APM spans for Lambda invocations. Defaults to `false`. |
43
+ | `enableSourceCodeIntegration` | Enable [Datadog source code integration][18] for the function. Defaults to `true`. |
44
+ | `subscribeToApiGatewayLogs` | Enable automatic subscription of the Datadog Forwarder to API Gateway log groups. Requires setting `forwarderArn`. Defaults to `true`. |
45
+ | `subscribeToHttpApiLogs` | Enable automatic subscription of the Datadog Forwarder to HTTP API log groups. Requires setting `forwarderArn`. Defaults to `true`. |
46
+ | `subscribeToWebsocketLogs` | Enable automatic subscription of the Datadog Forwarder to WebSocket log groups. Requires setting `forwarderArn`. Defaults to `true`. |
47
+ | `forwarderArn` | The ARN of the Datadog Forwarder to be subscribed to the Lambda or API Gateway log groups. |
48
+ | `addLayers` | Whether to install the Datadog Lambda library as a layer. Defaults to `true`. Set to `false` when you plan to package the Datadog Lambda library to your function's deployment package on your own so that you can install a specific version of the Datadog Lambda library ([Python][8] or [Node.js][9]). |
49
+ | `addExtension` | Whether to install the Datadog Lambda Extension as a layer. Defaults to `true`. When enabled, it's required to set the `apiKey` and `site`. |
50
+ | `exclude` | When set, this plugin ignores all specified functions. Use this parameter if you have any functions that should not include Datadog functionality. Defaults to `[]`. |
51
+ | `enabled` | When set to `false`, the Datadog plugin stays inactive. Defaults to `true`. You can control this option using an environment variable. For example, use `enabled: ${strToBool(${env:DD_PLUGIN_ENABLED, true})}` to activate/deactivate the plugin during deployment. Alternatively, you can also use the value passed in through `--stage` to control this option—[see example](#disable-plugin-for-particular-environment). |
52
+ | `customHandler` | When set, the specified handler is set as the handler for all the functions. |
53
+ | `failOnError` | When set, this plugin throws an error if any custom Datadog monitors fail to create or update. This occurs after deploy, but will cause the result of `serverless deploy` to return a nonzero exit code (to fail user CI). Defaults to `false`. |
54
+ | `integrationTesting` | Set `true` when running integration tests. This bypasses the validation of the Forwarder ARN and the addition of Datadog Monitor output links. Defaults to `false`. |
55
+ | `logLevel` | The log level, set to `DEBUG` for extended logging. |
62
56
 
63
57
  To use any of these parameters, add a `custom` > `datadog` section to your `serverless.yml` similar to this example:
64
58
 
65
59
  ```yaml
66
60
  custom:
67
61
  datadog:
68
- flushMetricsToLogs: true
69
62
  apiKeySecretArn: "{Datadog_API_Key_Secret_ARN}"
70
- apiKMSKey: "{Encrypted_Datadog_API_Key}"
71
- addLayers: true
72
- logLevel: "info"
73
63
  enableXrayTracing: false
74
64
  enableDDTracing: true
75
65
  enableDDLogs: true
76
66
  subscribeToAccessLogs: true
77
67
  forwarderArn: arn:aws:lambda:us-east-1:000000000000:function:datadog-forwarder
78
- enableTags: true
79
- injectLogContext: true
80
68
  exclude:
81
69
  - dd-excluded-function
82
70
  ```
83
71
 
84
- **Note**: If you use webpack, Datadog recommends using the prebuilt layers by setting `addLayers` to `true`, which is the default, and add `datadog-lambda-js` and `dd-trace` to the [externals][10] section of your webpack config.
72
+ ### Webpack
85
73
 
86
- **Note**: Many of the above configuration values require setting `DATADOG_API_KEY` in your environment. If you store these values in AWS Secrets Manager or AWS KMS, refer to the above options `apiKeySecretArn` and `apiKMSKey` to pull your Datadog API key from the correct location.
74
+ If you are using a bundler, such as webpack, see [Serverless Tracing and Webpack](https://docs.datadoghq.com/serverless/guide/serverless_tracing_and_webpack/).
87
75
 
88
76
  ### TypeScript
89
77
 
78
+ You may encounter the error of missing type definitions. To resolve the error, add `datadog-lambda-js` and `dd-trace` to the `devDependencies` list of your project's package.json.
79
+
90
80
  If you are using serverless-typescript, make sure that `serverless-datadog` is above the `serverless-typescript` entry in your `serverless.yml`. The plugin will automatically detect `.ts` files.
91
81
 
92
82
  ```yaml
@@ -95,49 +85,6 @@ plugins:
95
85
  - serverless-typescript
96
86
  ```
97
87
 
98
- If you use TypeScript, you may encounter the error of missing type definitions. A missing type definition happens when you use the prebuilt layers (for example, set `addLayers` to `true`, which is the default) and need to import helper functions from the `datadog-lambda-js` and `dd-trace` packages to submit custom metrics or instrument a specific function. To resolve the error, add `datadog-lambda-js` and `dd-trace` to the `devDependencies` list of your project's package.json.
99
-
100
- ### Webpack
101
-
102
- `dd-trace` is known to be not compatible with webpack due to the use of conditional import and other issues. If using webpack, make sure to mark `datadog-lambda-js` and `dd-trace` as [externals](https://webpack.js.org/configuration/externals/) for webpack, so webpack knows these dependencies will be available in the runtime. You should also remove `datadog-lambda-js` and `dd-trace` from `package.json` and the build process to ensure you're using the versions provided by the Datadog Lambda Layer.
103
-
104
- #### serverless-webpack
105
-
106
- If using `serverless-webpack`, make sure to also exclude `datadog-lambda-js` and `dd-trace` in your `serverless.yml` in addition to declaring them as external in your webpack config file.
107
-
108
- **webpack.config.js**
109
-
110
- ```javascript
111
- var nodeExternals = require("webpack-node-externals");
112
-
113
- module.exports = {
114
- // we use webpack-node-externals to excludes all node deps.
115
- // You can manually set the externals too.
116
- externals: [nodeExternals(), "dd-trace", "datadog-lambda-js"],
117
- };
118
- ```
119
-
120
- **serverless.yml**
121
-
122
- ```yaml
123
- custom:
124
- webpack:
125
- includeModules:
126
- forceExclude:
127
- - dd-trace
128
- - datadog-lambda-js
129
- ```
130
-
131
- ### Forwarder
132
-
133
- The [Datadog Forwarder Lambda function][11] needs to be installed and subscribed to your Lambda functions' log groups. The plugin automatically creates the log subscriptions when the Forwarder's ARN is supplied via the `forwarderArn` option.
134
-
135
- If you run into the following error, double check the supplied Forwarder ARN is correct and ensure it is from the same region and account where your serverless application is deployed.
136
-
137
- ```
138
- An error occurred: GetaccountapiLogGroupSubscription - Could not execute the lambda function. Make sure you have given CloudWatch Logs permission to execute your function. (Service: AWSLogs; Status Code: 400; Error Code: InvalidParameterException).
139
- ```
140
-
141
88
  ### Disable Plugin for Particular Environment
142
89
 
143
90
  If you'd like to turn off the plugin based on the environment (passed via `--stage`), you can use something similar to the example below.
@@ -292,3 +239,5 @@ This product includes software developed at Datadog (<https://www.datadoghq.com/
292
239
  [14]: https://github.com/DataDog/serverless-plugin-datadog/blob/master/CONTRIBUTING.md
293
240
  [15]: https://github.com/DataDog/serverless-plugin-datadog/blob/master/src/layers.json
294
241
  [16]: https://docs.datadoghq.com/tracing/setup_overview/configure_data_security/?tab=mongodb#replace-rules-for-tag-filtering
242
+ [17]: https://www.datadoghq.com/blog/troubleshoot-lambda-function-request-response-payloads/
243
+ [18]: https://docs.datadoghq.com/integrations/guide/source-code-integration
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-plugin-datadog",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "description": "Serverless plugin to automatically instrument python and node functions with datadog tracing",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/DataDog/serverless-plugin-datadog",
@@ -1 +1 @@
1
- {"version":3,"file":"layer.d.ts","sourceRoot":"","sources":["../../src/layer.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAC;AAC3E,OAAO,OAAO,MAAM,4BAA4B,CAAC;AACjD,oBAAY,WAAW;IACrB,IAAI,IAAA;IACJ,MAAM,IAAA;IACN,MAAM,IAAA;IACN,MAAM,IAAA;IACN,IAAI,IAAA;IACJ,IAAI,IAAA;IACJ,EAAE,IAAA;IACF,WA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,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAInD,CAAC;AAKF,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,YAAY,EAAE,CAgBzG;AAED,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,SAAS,QA0BrG;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,SAAS,QA0BhG;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,QAYjG;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,SAAS,QAY/F;AAED,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAIhF;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,IAAI,yBAAyB,CAE7G"}
package/dist/src/layer.js CHANGED
@@ -18,6 +18,7 @@ exports.DEFAULT_ARCHITECTURE = exports.X86_64_ARCHITECTURE;
18
18
  exports.runtimeLookup = {
19
19
  "nodejs12.x": RuntimeType.NODE,
20
20
  "nodejs14.x": RuntimeType.NODE,
21
+ "nodejs16.x": RuntimeType.NODE,
21
22
  "python3.6": RuntimeType.PYTHON,
22
23
  "python3.7": RuntimeType.PYTHON,
23
24
  "python3.8": RuntimeType.PYTHON,
@@ -1 +1 @@
1
- {"version":3,"file":"layer.js","sourceRoot":"","sources":["../../src/layer.ts"],"names":[],"mappings":";;;AASA,IAAY,WASX;AATD,WAAY,WAAW;IACrB,6CAAI,CAAA;IACJ,iDAAM,CAA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AAU,aAAV,UAAU,uBAAV,UAAU,CAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;KACrE;IACD,SAAS,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;AACjC,CAAC;AAED,SAAS,SAAS,CAAC,OAAqB,EAAE,MAAgB;IACvD,OAAO,CAAC,OAAe,CAAC,MAAM,GAAG,MAAM,CAAC;AAC3C,CAAC"}
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "regions": {
3
3
  "us-gov-west-1": {
4
- "nodejs12.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node12-x:77",
5
- "nodejs14.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node14-x:77",
4
+ "nodejs12.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node12-x:78",
5
+ "nodejs14.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node14-x:78",
6
+ "nodejs16.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node16-x:78",
6
7
  "python3.6": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python36:58",
7
8
  "python3.7": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python37:58",
8
9
  "python3.8": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python38:58",
@@ -14,8 +15,9 @@
14
15
  "dotnet": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:dd-trace-dotnet:3"
15
16
  },
16
17
  "us-gov-east-1": {
17
- "nodejs12.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node12-x:77",
18
- "nodejs14.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node14-x:77",
18
+ "nodejs12.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node12-x:78",
19
+ "nodejs14.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node14-x:78",
20
+ "nodejs16.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node16-x:78",
19
21
  "python3.6": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python36:58",
20
22
  "python3.7": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python37:58",
21
23
  "python3.8": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python38:58",
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "regions": {
3
3
  "af-south-1": {
4
- "nodejs12.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node12-x:77",
5
- "nodejs14.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node14-x:77",
4
+ "nodejs12.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node12-x:78",
5
+ "nodejs14.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node14-x:78",
6
+ "nodejs16.x": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Node16-x:78",
6
7
  "python3.6": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python36:58",
7
8
  "python3.7": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python37:58",
8
9
  "python3.8": "arn:aws:lambda:af-south-1:464622532012:layer:Datadog-Python38:58",
@@ -15,8 +16,9 @@
15
16
  "java": "arn:aws:lambda:af-south-1:464622532012:layer:dd-trace-java:4"
16
17
  },
17
18
  "eu-north-1": {
18
- "nodejs12.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node12-x:77",
19
- "nodejs14.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node14-x:77",
19
+ "nodejs12.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node12-x:78",
20
+ "nodejs14.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node14-x:78",
21
+ "nodejs16.x": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Node16-x:78",
20
22
  "python3.6": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python36:58",
21
23
  "python3.7": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python37:58",
22
24
  "python3.8": "arn:aws:lambda:eu-north-1:464622532012:layer:Datadog-Python38:58",
@@ -29,8 +31,9 @@
29
31
  "java": "arn:aws:lambda:eu-north-1:464622532012:layer:dd-trace-java:4"
30
32
  },
31
33
  "ap-south-1": {
32
- "nodejs12.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node12-x:77",
33
- "nodejs14.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node14-x:77",
34
+ "nodejs12.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node12-x:78",
35
+ "nodejs14.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node14-x:78",
36
+ "nodejs16.x": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Node16-x:78",
34
37
  "python3.6": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python36:58",
35
38
  "python3.7": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python37:58",
36
39
  "python3.8": "arn:aws:lambda:ap-south-1:464622532012:layer:Datadog-Python38:58",
@@ -43,8 +46,9 @@
43
46
  "java": "arn:aws:lambda:ap-south-1:464622532012:layer:dd-trace-java:4"
44
47
  },
45
48
  "eu-west-3": {
46
- "nodejs12.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node12-x:77",
47
- "nodejs14.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node14-x:77",
49
+ "nodejs12.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node12-x:78",
50
+ "nodejs14.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node14-x:78",
51
+ "nodejs16.x": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Node16-x:78",
48
52
  "python3.6": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python36:58",
49
53
  "python3.7": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python37:58",
50
54
  "python3.8": "arn:aws:lambda:eu-west-3:464622532012:layer:Datadog-Python38:58",
@@ -57,8 +61,9 @@
57
61
  "java": "arn:aws:lambda:eu-west-3:464622532012:layer:dd-trace-java:4"
58
62
  },
59
63
  "eu-west-2": {
60
- "nodejs12.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node12-x:77",
61
- "nodejs14.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node14-x:77",
64
+ "nodejs12.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node12-x:78",
65
+ "nodejs14.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node14-x:78",
66
+ "nodejs16.x": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Node16-x:78",
62
67
  "python3.6": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python36:58",
63
68
  "python3.7": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python37:58",
64
69
  "python3.8": "arn:aws:lambda:eu-west-2:464622532012:layer:Datadog-Python38:58",
@@ -71,8 +76,9 @@
71
76
  "java": "arn:aws:lambda:eu-west-2:464622532012:layer:dd-trace-java:4"
72
77
  },
73
78
  "eu-south-1": {
74
- "nodejs12.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node12-x:77",
75
- "nodejs14.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node14-x:77",
79
+ "nodejs12.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node12-x:78",
80
+ "nodejs14.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node14-x:78",
81
+ "nodejs16.x": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Node16-x:78",
76
82
  "python3.6": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python36:58",
77
83
  "python3.7": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python37:58",
78
84
  "python3.8": "arn:aws:lambda:eu-south-1:464622532012:layer:Datadog-Python38:58",
@@ -85,8 +91,9 @@
85
91
  "java": "arn:aws:lambda:eu-south-1:464622532012:layer:dd-trace-java:4"
86
92
  },
87
93
  "eu-west-1": {
88
- "nodejs12.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node12-x:77",
89
- "nodejs14.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node14-x:77",
94
+ "nodejs12.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node12-x:78",
95
+ "nodejs14.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node14-x:78",
96
+ "nodejs16.x": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Node16-x:78",
90
97
  "python3.6": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python36:58",
91
98
  "python3.7": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python37:58",
92
99
  "python3.8": "arn:aws:lambda:eu-west-1:464622532012:layer:Datadog-Python38:58",
@@ -99,8 +106,9 @@
99
106
  "java": "arn:aws:lambda:eu-west-1:464622532012:layer:dd-trace-java:4"
100
107
  },
101
108
  "ap-northeast-3": {
102
- "nodejs12.x": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Node12-x:77",
103
- "nodejs14.x": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Node14-x:77",
109
+ "nodejs12.x": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Node12-x:78",
110
+ "nodejs14.x": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Node14-x:78",
111
+ "nodejs16.x": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Node16-x:78",
104
112
  "python3.6": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Python36:58",
105
113
  "python3.7": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Python37:58",
106
114
  "python3.8": "arn:aws:lambda:ap-northeast-3:464622532012:layer:Datadog-Python38:58",
@@ -113,8 +121,9 @@
113
121
  "java": "arn:aws:lambda:ap-northeast-3:464622532012:layer:dd-trace-java:4"
114
122
  },
115
123
  "ap-northeast-2": {
116
- "nodejs12.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node12-x:77",
117
- "nodejs14.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node14-x:77",
124
+ "nodejs12.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node12-x:78",
125
+ "nodejs14.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node14-x:78",
126
+ "nodejs16.x": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Node16-x:78",
118
127
  "python3.6": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python36:58",
119
128
  "python3.7": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python37:58",
120
129
  "python3.8": "arn:aws:lambda:ap-northeast-2:464622532012:layer:Datadog-Python38:58",
@@ -127,8 +136,9 @@
127
136
  "java": "arn:aws:lambda:ap-northeast-2:464622532012:layer:dd-trace-java:4"
128
137
  },
129
138
  "me-south-1": {
130
- "nodejs12.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node12-x:77",
131
- "nodejs14.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node14-x:77",
139
+ "nodejs12.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node12-x:78",
140
+ "nodejs14.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node14-x:78",
141
+ "nodejs16.x": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Node16-x:78",
132
142
  "python3.6": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python36:58",
133
143
  "python3.7": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python37:58",
134
144
  "python3.8": "arn:aws:lambda:me-south-1:464622532012:layer:Datadog-Python38:58",
@@ -141,8 +151,9 @@
141
151
  "java": "arn:aws:lambda:me-south-1:464622532012:layer:dd-trace-java:4"
142
152
  },
143
153
  "ap-northeast-1": {
144
- "nodejs12.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node12-x:77",
145
- "nodejs14.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node14-x:77",
154
+ "nodejs12.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node12-x:78",
155
+ "nodejs14.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node14-x:78",
156
+ "nodejs16.x": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Node16-x:78",
146
157
  "python3.6": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python36:58",
147
158
  "python3.7": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python37:58",
148
159
  "python3.8": "arn:aws:lambda:ap-northeast-1:464622532012:layer:Datadog-Python38:58",
@@ -155,8 +166,9 @@
155
166
  "java": "arn:aws:lambda:ap-northeast-1:464622532012:layer:dd-trace-java:4"
156
167
  },
157
168
  "sa-east-1": {
158
- "nodejs12.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node12-x:77",
159
- "nodejs14.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node14-x:77",
169
+ "nodejs12.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node12-x:78",
170
+ "nodejs14.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node14-x:78",
171
+ "nodejs16.x": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Node16-x:78",
160
172
  "python3.6": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python36:58",
161
173
  "python3.7": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python37:58",
162
174
  "python3.8": "arn:aws:lambda:sa-east-1:464622532012:layer:Datadog-Python38:58",
@@ -169,8 +181,9 @@
169
181
  "java": "arn:aws:lambda:sa-east-1:464622532012:layer:dd-trace-java:4"
170
182
  },
171
183
  "ca-central-1": {
172
- "nodejs12.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node12-x:77",
173
- "nodejs14.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node14-x:77",
184
+ "nodejs12.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node12-x:78",
185
+ "nodejs14.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node14-x:78",
186
+ "nodejs16.x": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Node16-x:78",
174
187
  "python3.6": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python36:58",
175
188
  "python3.7": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python37:58",
176
189
  "python3.8": "arn:aws:lambda:ca-central-1:464622532012:layer:Datadog-Python38:58",
@@ -183,8 +196,9 @@
183
196
  "java": "arn:aws:lambda:ca-central-1:464622532012:layer:dd-trace-java:4"
184
197
  },
185
198
  "ap-east-1": {
186
- "nodejs12.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node12-x:77",
187
- "nodejs14.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node14-x:77",
199
+ "nodejs12.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node12-x:78",
200
+ "nodejs14.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node14-x:78",
201
+ "nodejs16.x": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Node16-x:78",
188
202
  "python3.6": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python36:58",
189
203
  "python3.7": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python37:58",
190
204
  "python3.8": "arn:aws:lambda:ap-east-1:464622532012:layer:Datadog-Python38:58",
@@ -197,8 +211,9 @@
197
211
  "java": "arn:aws:lambda:ap-east-1:464622532012:layer:dd-trace-java:4"
198
212
  },
199
213
  "ap-southeast-1": {
200
- "nodejs12.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node12-x:77",
201
- "nodejs14.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node14-x:77",
214
+ "nodejs12.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node12-x:78",
215
+ "nodejs14.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node14-x:78",
216
+ "nodejs16.x": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Node16-x:78",
202
217
  "python3.6": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python36:58",
203
218
  "python3.7": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python37:58",
204
219
  "python3.8": "arn:aws:lambda:ap-southeast-1:464622532012:layer:Datadog-Python38:58",
@@ -211,8 +226,9 @@
211
226
  "java": "arn:aws:lambda:ap-southeast-1:464622532012:layer:dd-trace-java:4"
212
227
  },
213
228
  "ap-southeast-2": {
214
- "nodejs12.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node12-x:77",
215
- "nodejs14.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node14-x:77",
229
+ "nodejs12.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node12-x:78",
230
+ "nodejs14.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node14-x:78",
231
+ "nodejs16.x": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Node16-x:78",
216
232
  "python3.6": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python36:58",
217
233
  "python3.7": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python37:58",
218
234
  "python3.8": "arn:aws:lambda:ap-southeast-2:464622532012:layer:Datadog-Python38:58",
@@ -225,8 +241,9 @@
225
241
  "java": "arn:aws:lambda:ap-southeast-2:464622532012:layer:dd-trace-java:4"
226
242
  },
227
243
  "eu-central-1": {
228
- "nodejs12.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node12-x:77",
229
- "nodejs14.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node14-x:77",
244
+ "nodejs12.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node12-x:78",
245
+ "nodejs14.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node14-x:78",
246
+ "nodejs16.x": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Node16-x:78",
230
247
  "python3.6": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python36:58",
231
248
  "python3.7": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python37:58",
232
249
  "python3.8": "arn:aws:lambda:eu-central-1:464622532012:layer:Datadog-Python38:58",
@@ -239,8 +256,9 @@
239
256
  "java": "arn:aws:lambda:eu-central-1:464622532012:layer:dd-trace-java:4"
240
257
  },
241
258
  "us-east-1": {
242
- "nodejs12.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node12-x:77",
243
- "nodejs14.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node14-x:77",
259
+ "nodejs12.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node12-x:78",
260
+ "nodejs14.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node14-x:78",
261
+ "nodejs16.x": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Node16-x:78",
244
262
  "python3.6": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python36:58",
245
263
  "python3.7": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python37:58",
246
264
  "python3.8": "arn:aws:lambda:us-east-1:464622532012:layer:Datadog-Python38:58",
@@ -253,8 +271,9 @@
253
271
  "java": "arn:aws:lambda:us-east-1:464622532012:layer:dd-trace-java:4"
254
272
  },
255
273
  "us-east-2": {
256
- "nodejs12.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node12-x:77",
257
- "nodejs14.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node14-x:77",
274
+ "nodejs12.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node12-x:78",
275
+ "nodejs14.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node14-x:78",
276
+ "nodejs16.x": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Node16-x:78",
258
277
  "python3.6": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python36:58",
259
278
  "python3.7": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python37:58",
260
279
  "python3.8": "arn:aws:lambda:us-east-2:464622532012:layer:Datadog-Python38:58",
@@ -267,8 +286,9 @@
267
286
  "java": "arn:aws:lambda:us-east-2:464622532012:layer:dd-trace-java:4"
268
287
  },
269
288
  "us-west-1": {
270
- "nodejs12.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node12-x:77",
271
- "nodejs14.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node14-x:77",
289
+ "nodejs12.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node12-x:78",
290
+ "nodejs14.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node14-x:78",
291
+ "nodejs16.x": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Node16-x:78",
272
292
  "python3.6": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python36:58",
273
293
  "python3.7": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python37:58",
274
294
  "python3.8": "arn:aws:lambda:us-west-1:464622532012:layer:Datadog-Python38:58",
@@ -281,8 +301,9 @@
281
301
  "java": "arn:aws:lambda:us-west-1:464622532012:layer:dd-trace-java:4"
282
302
  },
283
303
  "us-west-2": {
284
- "nodejs12.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node12-x:77",
285
- "nodejs14.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node14-x:77",
304
+ "nodejs12.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node12-x:78",
305
+ "nodejs14.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node14-x:78",
306
+ "nodejs16.x": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Node16-x:78",
286
307
  "python3.6": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python36:58",
287
308
  "python3.7": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python37:58",
288
309
  "python3.8": "arn:aws:lambda:us-west-2:464622532012:layer:Datadog-Python38:58",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-plugin-datadog",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "description": "Serverless plugin to automatically instrument python and node functions with datadog tracing",
5
5
  "main": "dist/src/index.js",
6
6
  "repository": "https://github.com/DataDog/serverless-plugin-datadog",