@datadog/datadog-ci-plugin-lambda 5.8.0 → 5.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -124,13 +124,13 @@ You can pass the following arguments to `instrument` to specify its behavior. Th
|
|
|
124
124
|
| `--config` | | Path to the configuration file | |
|
|
125
125
|
| `--dry` or `--dry-run` | `-d` | Preview changes running command would apply | `false` |
|
|
126
126
|
| `--env` | | Use --env to separate out your staging, development, and production environments. Learn more about the env tag here: https://docs.datadoghq.com/serverless/troubleshooting/serverless_tagging/#the-env-tag | |
|
|
127
|
-
| `--extension-version` or `--extensionVersion` | `-e` | Version of the Datadog Lambda Extension layer to apply. Setting this to 'latest' will use version
|
|
127
|
+
| `--extension-version` or `--extensionVersion` | `-e` | Version of the Datadog Lambda Extension layer to apply. Setting this to 'latest' will use version 93. When using the extension, make sure to export DATADOG_API_KEY (or if encrypted, DATADOG_KMS_API_KEY or DATADOG_API_KEY_SECRET_ARN) in your environment as well. Mutually exclusive with the forwarder. Set to 'none' to explicitly disable adding the extension layer. Learn more about the Lambda Extension here: https://docs.datadoghq.com/serverless/libraries_integrations/extension | `latest` |
|
|
128
128
|
| `--extra-tags` or `--extraTags` | | Add custom tags to your Lambda function in Datadog. Must be a list of <key>:<value> separated by commas such as: layer:api,team:intake | |
|
|
129
129
|
| `--flush-metrics-to-logs` or `--flushMetricsToLogs` | | Whether to send metrics via the Datadog Forwarder asynchronously (https://docs.datadoghq.com/serverless/custom_metrics?tab=python#enabling-asynchronous-custom-metrics). If you disable this parameter, it's required to export DATADOG_API_KEY (or if encrypted, DATADOG_KMS_API_KEY or DATADOG_API_KEY_SECRET_ARN). | `true` |
|
|
130
130
|
| `--forwarder` | | The ARN of the datadog forwarder (https://docs.datadoghq.com/logs/guide/forwarder/) to attach this function's LogGroup to | |
|
|
131
131
|
| `--function` | `-f` | The ARN of the Lambda function to be instrumented, or the name of the Lambda function (--region must be defined) | |
|
|
132
132
|
| `--interactive` | `-i` | Allows the user to interactively choose how their function gets instrumented. There is no need to provide any other flags if you choose to use interactive mode since you will be prompted for the information instead | `false` |
|
|
133
|
-
| `--layer-version` or `--layerVersion` | `-v` | Version of the Datadog Lambda Library layer to apply. Setting this to 'latest' will use one of the following versions based on your runtime: dotnet - 23, java - 25, node -
|
|
133
|
+
| `--layer-version` or `--layerVersion` | `-v` | Version of the Datadog Lambda Library layer to apply. Setting this to 'latest' will use one of the following versions based on your runtime: dotnet - 23, java - 25, node - 135, python - 123, ruby - 27. Setting to 'none' will disable adding the language layer. | `latest` |
|
|
134
134
|
| `--logging` | | Whether to collect logs using the Lambda Extension. | `true` |
|
|
135
135
|
| `--log-level` or `--logLevel` | | Set to debug to see additional output from the Datadog Lambda Library and/or Lambda Extension for troubleshooting purposes | |
|
|
136
136
|
| `--merge-xray-traces` or `--mergeXrayTraces` | | Whether to join dd-trace traces to AWS X-Ray traces. Useful for tracing API Gateway spans. | `false` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datadog/datadog-ci-plugin-lambda",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.1",
|
|
4
4
|
"description": "Datadog CI plugin for `lambda` commands",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
"prepack": "yarn package:clean-dist"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@datadog/datadog-ci-base": "5.
|
|
42
|
+
"@datadog/datadog-ci-base": "5.9.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@aws-sdk/client-cloudwatch-logs": "^3.981.0",
|
|
46
46
|
"@aws-sdk/client-iam": "^3.981.0",
|
|
47
47
|
"@aws-sdk/client-lambda": "^3.981.0",
|
|
48
|
-
"@aws-sdk/credential-provider-ini": "^3.972.
|
|
48
|
+
"@aws-sdk/credential-provider-ini": "^3.972.9",
|
|
49
49
|
"@aws-sdk/credential-providers": "^3.981.0",
|
|
50
50
|
"@aws-sdk/types": "^3.973.1",
|
|
51
51
|
"@smithy/property-provider": "^2.0.12",
|