serverless-plugin-datadog 5.71.0 → 5.72.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/package.json +1 -1
- package/dist/src/compile.d.ts +3 -0
- package/dist/src/compile.d.ts.map +1 -0
- package/dist/src/compile.js +10 -0
- package/dist/src/compile.js.map +1 -0
- package/dist/src/layers-gov.json +20 -20
- package/dist/src/layers.json +302 -290
- package/dist/src/precomile-python.d.ts +2 -0
- package/dist/src/precomile-python.d.ts.map +1 -0
- package/dist/src/precomile-python.js +69 -0
- package/dist/src/precomile-python.js.map +1 -0
- package/dist/src/precompile-python.d.ts +2 -0
- package/dist/src/precompile-python.d.ts.map +1 -0
- package/dist/src/precompile-python.js +78 -0
- package/dist/src/precompile-python.js.map +1 -0
- package/dist/src/step-functions-helper.d.ts +7 -4
- package/dist/src/step-functions-helper.d.ts.map +1 -1
- package/dist/src/step-functions-helper.js +62 -32
- package/dist/src/step-functions-helper.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -53,7 +53,7 @@ To further configure your plugin, use the following custom parameters in your `s
|
|
53
53
|
| `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). |
|
54
54
|
| `customHandler` | When set, the specified handler is set as the handler for all the functions. |
|
55
55
|
| `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`. |
|
56
|
-
| `logLevel` | The log level
|
56
|
+
| `logLevel` | The log level for Datadog's lambda extension and tracing libraries. Set to `DEBUG` for extended logging. It does not affect which user logs are forwarded to Datadog. |
|
57
57
|
| `skipCloudformationOutputs` | Set to `true` if you want to skip adding Datadog Cloudformation Outputs for your stack. This is useful if you are running into the 200 output limit which can cause the stack creation to fail. |
|
58
58
|
| `enableColdStartTracing` | Set to `false` to disable Cold Start Tracing. Used in NodeJS and Python. Defaults to `true`. |
|
59
59
|
| `coldStartTraceMinDuration` | Sets the minimum duration (in milliseconds) for a module load event to be traced via Cold Start Tracing. Number. Defaults to `3`. |
|
package/dist/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "serverless-plugin-datadog",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.72.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",
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"compile.d.ts","sourceRoot":"","sources":["../../src/compile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AAGzC,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,UAAU,QAIvB"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.pythonCompileAll = void 0;
|
4
|
+
const child_process_1 = require("child_process");
|
5
|
+
function pythonCompileAll(serverless) {
|
6
|
+
let result = (0, child_process_1.spawnSync)('ls', ['-al', '.serverless']);
|
7
|
+
serverless.cli.log(result.stdout.toString());
|
8
|
+
}
|
9
|
+
exports.pythonCompileAll = pythonCompileAll;
|
10
|
+
//# sourceMappingURL=compile.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"compile.js","sourceRoot":"","sources":["../../src/compile.ts"],"names":[],"mappings":";;;AACA,iDAA0C;AAE1C,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,IAAI,MAAM,GAAG,IAAA,yBAAS,EAAC,IAAI,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC;IACrD,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC/C,CAAC;AALD,4CAKC"}
|
package/dist/src/layers-gov.json
CHANGED
@@ -5,16 +5,16 @@
|
|
5
5
|
"nodejs18.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node18-x:115",
|
6
6
|
"nodejs20.x": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Node20-x:115",
|
7
7
|
"python3.7": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python37:85",
|
8
|
-
"python3.8": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python38:
|
9
|
-
"python3.8-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python38-ARM:
|
10
|
-
"python3.9": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python39:
|
11
|
-
"python3.9-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python39-ARM:
|
12
|
-
"python3.10": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python310:
|
13
|
-
"python3.10-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python310-ARM:
|
14
|
-
"python3.11": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python311:
|
15
|
-
"python3.11-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python311-ARM:
|
16
|
-
"python3.12": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python312:
|
17
|
-
"python3.12-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python312-ARM:
|
8
|
+
"python3.8": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python38:99",
|
9
|
+
"python3.8-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python38-ARM:99",
|
10
|
+
"python3.9": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python39:99",
|
11
|
+
"python3.9-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python39-ARM:99",
|
12
|
+
"python3.10": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python310:99",
|
13
|
+
"python3.10-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python310-ARM:99",
|
14
|
+
"python3.11": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python311:99",
|
15
|
+
"python3.11-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python311-ARM:99",
|
16
|
+
"python3.12": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python312:99",
|
17
|
+
"python3.12-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Python312-ARM:99",
|
18
18
|
"ruby3.2": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Ruby3-2:23",
|
19
19
|
"ruby3.2-arm": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Ruby3-2-ARM:23",
|
20
20
|
"extension": "arn:aws-us-gov:lambda:us-gov-west-1:002406178527:layer:Datadog-Extension:65",
|
@@ -28,16 +28,16 @@
|
|
28
28
|
"nodejs18.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node18-x:115",
|
29
29
|
"nodejs20.x": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Node20-x:115",
|
30
30
|
"python3.7": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python37:85",
|
31
|
-
"python3.8": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python38:
|
32
|
-
"python3.8-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python38-ARM:
|
33
|
-
"python3.9": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python39:
|
34
|
-
"python3.9-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python39-ARM:
|
35
|
-
"python3.10": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python310:
|
36
|
-
"python3.10-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python310-ARM:
|
37
|
-
"python3.11": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python311:
|
38
|
-
"python3.11-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python311-ARM:
|
39
|
-
"python3.12": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python312:
|
40
|
-
"python3.12-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python312-ARM:
|
31
|
+
"python3.8": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python38:99",
|
32
|
+
"python3.8-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python38-ARM:99",
|
33
|
+
"python3.9": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python39:99",
|
34
|
+
"python3.9-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python39-ARM:99",
|
35
|
+
"python3.10": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python310:99",
|
36
|
+
"python3.10-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python310-ARM:99",
|
37
|
+
"python3.11": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python311:99",
|
38
|
+
"python3.11-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python311-ARM:99",
|
39
|
+
"python3.12": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python312:99",
|
40
|
+
"python3.12-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Python312-ARM:99",
|
41
41
|
"ruby3.2": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Ruby3-2:23",
|
42
42
|
"ruby3.2-arm": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Ruby3-2-ARM:23",
|
43
43
|
"extension": "arn:aws-us-gov:lambda:us-gov-east-1:002406178527:layer:Datadog-Extension:65",
|