datadog-cdk-constructs-v2 2.6.0__tar.gz → 2.7.0__tar.gz

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.
Files changed (18) hide show
  1. {datadog_cdk_constructs_v2-2.6.0/src/datadog_cdk_constructs_v2.egg-info → datadog_cdk_constructs_v2-2.7.0}/PKG-INFO +7 -4
  2. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/README.md +6 -3
  3. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/setup.py +2 -2
  4. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2/__init__.py +54 -3
  5. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2/_jsii/__init__.py +2 -2
  6. datadog_cdk_constructs_v2-2.7.0/src/datadog_cdk_constructs_v2/_jsii/datadog-cdk-constructs-v2@2.7.0.jsii.tgz +0 -0
  7. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0/src/datadog_cdk_constructs_v2.egg-info}/PKG-INFO +7 -4
  8. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2.egg-info/SOURCES.txt +1 -1
  9. datadog_cdk_constructs_v2-2.6.0/src/datadog_cdk_constructs_v2/_jsii/datadog-cdk-constructs-v2@2.6.0.jsii.tgz +0 -0
  10. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/LICENSE +0 -0
  11. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/MANIFEST.in +0 -0
  12. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/NOTICE +0 -0
  13. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/pyproject.toml +0 -0
  14. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/setup.cfg +0 -0
  15. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2/py.typed +0 -0
  16. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2.egg-info/dependency_links.txt +0 -0
  17. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2.egg-info/requires.txt +0 -0
  18. {datadog_cdk_constructs_v2-2.6.0 → datadog_cdk_constructs_v2-2.7.0}/src/datadog_cdk_constructs_v2.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datadog-cdk-constructs-v2
3
- Version: 2.6.0
3
+ Version: 2.7.0
4
4
  Summary: CDK Construct Library to automatically instrument Python and Node Lambda functions with Datadog using AWS CDK v2
5
5
  Home-page: https://github.com/DataDog/datadog-cdk-constructs
6
6
  Author: Datadog
@@ -254,11 +254,11 @@ To further configure your DatadogLambda construct for Lambda, use the following
254
254
  | `javaLayerArn` | `java_layer_arn` | The custom ARN of the Java layer to install. Required if you are deploying at least one Lambda function written in Java and `addLayers` is `true`. **Warning**: This parameter and `javaLayerVersion` are mutually exclusive. If used, only set one or the other. |
255
255
  | `dotnetLayerVersion` | `dotnet_layer_version` | Version of the .NET layer to install, such as `13`. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. Find the latest version number from [here](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases). **Warning**: This parameter and `dotnetLayerArn` are mutually exclusive. If used, only set one or the other. |
256
256
  | `dotnetLayerArn` | `dotnet_layer_arn` | The custom ARN of the .NET layer to install. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. **Warning**: This parameter and `dotnetLayerVersion` are mutually exclusive. If used, only set one or the other. . |
257
- | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
258
- | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
257
+ | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
258
+ | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
259
259
  | `forwarderArn` | `forwarder_arn` | When set, the plugin automatically subscribes the Datadog Forwarder to the functions' log groups. Do not set `forwarderArn` when `extensionLayerVersion` or `extensionLayerArn` is set. |
260
260
  | `createForwarderPermissions` | `createForwarderPermissions` | When set to `true`, creates a Lambda permission on the the Datadog Forwarder per log group. Since the Datadog Forwarder has permissions configured by default, this is unnecessary in most use cases. |
261
- | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`). |
261
+ | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`). |
262
262
  | `site` | `site` | Set which Datadog site to send data. This is only used when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. Possible values are `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`, `ap2.datadoghq.com`, and `ddog-gov.com`. The default is `datadoghq.com`. |
263
263
  | `apiKey` | `api_key` | Datadog API Key, only needed when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. For more information about getting a Datadog API key, see the [API key documentation](https://docs.datadoghq.com/account_management/api-app-keys/#api-keys). |
264
264
  | `apiKeySecretArn` | `api_key_secret_arn` | The ARN of the secret storing the Datadog API key in AWS Secrets Manager. Use this parameter in place of `apiKey` when `flushMetricsToLogs` is `false` or `extensionLayer` is set. Remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. |
@@ -286,6 +286,9 @@ To further configure your DatadogLambda construct for Lambda, use the following
286
286
  | `apmFlushDeadline` | `apm_flush_deadline` | Used to determine when to submit spans before a timeout occurs, in milliseconds. When the remaining time in an AWS Lambda invocation is less than the value set, the tracer attempts to submit the current active spans and all finished spans. Supported for Node.js and Python. Defaults to `100` milliseconds. |
287
287
  | `redirectHandler` | `redirect_handler` | When set to `false`, skip redirecting handler to the Datadog Lambda Library's handler. Useful when only instrumenting with Datadog Lambda Extension. Defaults to `true`. |
288
288
  | `grantSecretReadAccess` | `grant_secret_read_access` | When set to `true` and `apiKeySecretArn` is provided, automatically grant read access to the given secret to all the lambdas added. Defaults to `true`. |
289
+ | `llmObsEnabled` | `llm_obs_enabled` | Toggle to enable submitting data to LLM Observability Defaults to `false`. |
290
+ | `llmObsMlApp` | `llm_obs_ml_app` | The name of your LLM application, service, or project, under which all traces and spans are grouped. This helps distinguish between different applications or experiments. See [Application naming guidelines](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#application-naming-guidelines) for allowed characters and other constraints. To override this value for a given root span, see [Tracing multiple applications](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#tracing-multiple-applications). Required if `llmObsEnabled` is `true` |
291
+ | `llmObsAgentlessEnabled` | `llm_obs_agentless_enabled` | Only required if you are not using the Datadog Agent, in which case this should be set to `true`. Defaults to `false`. |
289
292
 
290
293
  **Note**: Using the parameters above may override corresponding function level `DD_XXX` environment variables.
291
294
 
@@ -226,11 +226,11 @@ To further configure your DatadogLambda construct for Lambda, use the following
226
226
  | `javaLayerArn` | `java_layer_arn` | The custom ARN of the Java layer to install. Required if you are deploying at least one Lambda function written in Java and `addLayers` is `true`. **Warning**: This parameter and `javaLayerVersion` are mutually exclusive. If used, only set one or the other. |
227
227
  | `dotnetLayerVersion` | `dotnet_layer_version` | Version of the .NET layer to install, such as `13`. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. Find the latest version number from [here](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases). **Warning**: This parameter and `dotnetLayerArn` are mutually exclusive. If used, only set one or the other. |
228
228
  | `dotnetLayerArn` | `dotnet_layer_arn` | The custom ARN of the .NET layer to install. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. **Warning**: This parameter and `dotnetLayerVersion` are mutually exclusive. If used, only set one or the other. . |
229
- | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
230
- | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
229
+ | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
230
+ | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
231
231
  | `forwarderArn` | `forwarder_arn` | When set, the plugin automatically subscribes the Datadog Forwarder to the functions' log groups. Do not set `forwarderArn` when `extensionLayerVersion` or `extensionLayerArn` is set. |
232
232
  | `createForwarderPermissions` | `createForwarderPermissions` | When set to `true`, creates a Lambda permission on the the Datadog Forwarder per log group. Since the Datadog Forwarder has permissions configured by default, this is unnecessary in most use cases. |
233
- | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`). |
233
+ | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`). |
234
234
  | `site` | `site` | Set which Datadog site to send data. This is only used when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. Possible values are `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`, `ap2.datadoghq.com`, and `ddog-gov.com`. The default is `datadoghq.com`. |
235
235
  | `apiKey` | `api_key` | Datadog API Key, only needed when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. For more information about getting a Datadog API key, see the [API key documentation](https://docs.datadoghq.com/account_management/api-app-keys/#api-keys). |
236
236
  | `apiKeySecretArn` | `api_key_secret_arn` | The ARN of the secret storing the Datadog API key in AWS Secrets Manager. Use this parameter in place of `apiKey` when `flushMetricsToLogs` is `false` or `extensionLayer` is set. Remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. |
@@ -258,6 +258,9 @@ To further configure your DatadogLambda construct for Lambda, use the following
258
258
  | `apmFlushDeadline` | `apm_flush_deadline` | Used to determine when to submit spans before a timeout occurs, in milliseconds. When the remaining time in an AWS Lambda invocation is less than the value set, the tracer attempts to submit the current active spans and all finished spans. Supported for Node.js and Python. Defaults to `100` milliseconds. |
259
259
  | `redirectHandler` | `redirect_handler` | When set to `false`, skip redirecting handler to the Datadog Lambda Library's handler. Useful when only instrumenting with Datadog Lambda Extension. Defaults to `true`. |
260
260
  | `grantSecretReadAccess` | `grant_secret_read_access` | When set to `true` and `apiKeySecretArn` is provided, automatically grant read access to the given secret to all the lambdas added. Defaults to `true`. |
261
+ | `llmObsEnabled` | `llm_obs_enabled` | Toggle to enable submitting data to LLM Observability Defaults to `false`. |
262
+ | `llmObsMlApp` | `llm_obs_ml_app` | The name of your LLM application, service, or project, under which all traces and spans are grouped. This helps distinguish between different applications or experiments. See [Application naming guidelines](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#application-naming-guidelines) for allowed characters and other constraints. To override this value for a given root span, see [Tracing multiple applications](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#tracing-multiple-applications). Required if `llmObsEnabled` is `true` |
263
+ | `llmObsAgentlessEnabled` | `llm_obs_agentless_enabled` | Only required if you are not using the Datadog Agent, in which case this should be set to `true`. Defaults to `false`. |
261
264
 
262
265
  **Note**: Using the parameters above may override corresponding function level `DD_XXX` environment variables.
263
266
 
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "datadog-cdk-constructs-v2",
8
- "version": "2.6.0",
8
+ "version": "2.7.0",
9
9
  "description": "CDK Construct Library to automatically instrument Python and Node Lambda functions with Datadog using AWS CDK v2",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/DataDog/datadog-cdk-constructs",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "datadog_cdk_constructs_v2._jsii": [
29
- "datadog-cdk-constructs-v2@2.6.0.jsii.tgz"
29
+ "datadog-cdk-constructs-v2@2.7.0.jsii.tgz"
30
30
  ],
31
31
  "datadog_cdk_constructs_v2": [
32
32
  "py.typed"
@@ -227,11 +227,11 @@ To further configure your DatadogLambda construct for Lambda, use the following
227
227
  | `javaLayerArn` | `java_layer_arn` | The custom ARN of the Java layer to install. Required if you are deploying at least one Lambda function written in Java and `addLayers` is `true`. **Warning**: This parameter and `javaLayerVersion` are mutually exclusive. If used, only set one or the other. |
228
228
  | `dotnetLayerVersion` | `dotnet_layer_version` | Version of the .NET layer to install, such as `13`. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. Find the latest version number from [here](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases). **Warning**: This parameter and `dotnetLayerArn` are mutually exclusive. If used, only set one or the other. |
229
229
  | `dotnetLayerArn` | `dotnet_layer_arn` | The custom ARN of the .NET layer to install. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. **Warning**: This parameter and `dotnetLayerVersion` are mutually exclusive. If used, only set one or the other. . |
230
- | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
231
- | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
230
+ | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
231
+ | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
232
232
  | `forwarderArn` | `forwarder_arn` | When set, the plugin automatically subscribes the Datadog Forwarder to the functions' log groups. Do not set `forwarderArn` when `extensionLayerVersion` or `extensionLayerArn` is set. |
233
233
  | `createForwarderPermissions` | `createForwarderPermissions` | When set to `true`, creates a Lambda permission on the the Datadog Forwarder per log group. Since the Datadog Forwarder has permissions configured by default, this is unnecessary in most use cases. |
234
- | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`). |
234
+ | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`). |
235
235
  | `site` | `site` | Set which Datadog site to send data. This is only used when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. Possible values are `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`, `ap2.datadoghq.com`, and `ddog-gov.com`. The default is `datadoghq.com`. |
236
236
  | `apiKey` | `api_key` | Datadog API Key, only needed when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. For more information about getting a Datadog API key, see the [API key documentation](https://docs.datadoghq.com/account_management/api-app-keys/#api-keys). |
237
237
  | `apiKeySecretArn` | `api_key_secret_arn` | The ARN of the secret storing the Datadog API key in AWS Secrets Manager. Use this parameter in place of `apiKey` when `flushMetricsToLogs` is `false` or `extensionLayer` is set. Remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. |
@@ -259,6 +259,9 @@ To further configure your DatadogLambda construct for Lambda, use the following
259
259
  | `apmFlushDeadline` | `apm_flush_deadline` | Used to determine when to submit spans before a timeout occurs, in milliseconds. When the remaining time in an AWS Lambda invocation is less than the value set, the tracer attempts to submit the current active spans and all finished spans. Supported for Node.js and Python. Defaults to `100` milliseconds. |
260
260
  | `redirectHandler` | `redirect_handler` | When set to `false`, skip redirecting handler to the Datadog Lambda Library's handler. Useful when only instrumenting with Datadog Lambda Extension. Defaults to `true`. |
261
261
  | `grantSecretReadAccess` | `grant_secret_read_access` | When set to `true` and `apiKeySecretArn` is provided, automatically grant read access to the given secret to all the lambdas added. Defaults to `true`. |
262
+ | `llmObsEnabled` | `llm_obs_enabled` | Toggle to enable submitting data to LLM Observability Defaults to `false`. |
263
+ | `llmObsMlApp` | `llm_obs_ml_app` | The name of your LLM application, service, or project, under which all traces and spans are grouped. This helps distinguish between different applications or experiments. See [Application naming guidelines](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#application-naming-guidelines) for allowed characters and other constraints. To override this value for a given root span, see [Tracing multiple applications](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#tracing-multiple-applications). Required if `llmObsEnabled` is `true` |
264
+ | `llmObsAgentlessEnabled` | `llm_obs_agentless_enabled` | Only required if you are not using the Datadog Agent, in which case this should be set to `true`. Defaults to `false`. |
262
265
 
263
266
  **Note**: Using the parameters above may override corresponding function level `DD_XXX` environment variables.
264
267
 
@@ -2188,6 +2191,9 @@ class DatadogLambda(
2188
2191
  inject_log_context: typing.Optional[builtins.bool] = None,
2189
2192
  java_layer_arn: typing.Optional[builtins.str] = None,
2190
2193
  java_layer_version: typing.Optional[jsii.Number] = None,
2194
+ llm_obs_agentless_enabled: typing.Optional[builtins.bool] = None,
2195
+ llm_obs_enabled: typing.Optional[builtins.bool] = None,
2196
+ llm_obs_ml_app: typing.Optional[builtins.str] = None,
2191
2197
  log_level: typing.Optional[builtins.str] = None,
2192
2198
  min_cold_start_trace_duration: typing.Optional[jsii.Number] = None,
2193
2199
  node_layer_arn: typing.Optional[builtins.str] = None,
@@ -2236,6 +2242,9 @@ class DatadogLambda(
2236
2242
  :param inject_log_context:
2237
2243
  :param java_layer_arn:
2238
2244
  :param java_layer_version:
2245
+ :param llm_obs_agentless_enabled:
2246
+ :param llm_obs_enabled:
2247
+ :param llm_obs_ml_app:
2239
2248
  :param log_level:
2240
2249
  :param min_cold_start_trace_duration:
2241
2250
  :param node_layer_arn:
@@ -2286,6 +2295,9 @@ class DatadogLambda(
2286
2295
  inject_log_context=inject_log_context,
2287
2296
  java_layer_arn=java_layer_arn,
2288
2297
  java_layer_version=java_layer_version,
2298
+ llm_obs_agentless_enabled=llm_obs_agentless_enabled,
2299
+ llm_obs_enabled=llm_obs_enabled,
2300
+ llm_obs_ml_app=llm_obs_ml_app,
2289
2301
  log_level=log_level,
2290
2302
  min_cold_start_trace_duration=min_cold_start_trace_duration,
2291
2303
  node_layer_arn=node_layer_arn,
@@ -2492,6 +2504,9 @@ class DatadogLambda(
2492
2504
  "inject_log_context": "injectLogContext",
2493
2505
  "java_layer_arn": "javaLayerArn",
2494
2506
  "java_layer_version": "javaLayerVersion",
2507
+ "llm_obs_agentless_enabled": "llmObsAgentlessEnabled",
2508
+ "llm_obs_enabled": "llmObsEnabled",
2509
+ "llm_obs_ml_app": "llmObsMlApp",
2495
2510
  "log_level": "logLevel",
2496
2511
  "min_cold_start_trace_duration": "minColdStartTraceDuration",
2497
2512
  "node_layer_arn": "nodeLayerArn",
@@ -2542,6 +2557,9 @@ class DatadogLambdaProps:
2542
2557
  inject_log_context: typing.Optional[builtins.bool] = None,
2543
2558
  java_layer_arn: typing.Optional[builtins.str] = None,
2544
2559
  java_layer_version: typing.Optional[jsii.Number] = None,
2560
+ llm_obs_agentless_enabled: typing.Optional[builtins.bool] = None,
2561
+ llm_obs_enabled: typing.Optional[builtins.bool] = None,
2562
+ llm_obs_ml_app: typing.Optional[builtins.str] = None,
2545
2563
  log_level: typing.Optional[builtins.str] = None,
2546
2564
  min_cold_start_trace_duration: typing.Optional[jsii.Number] = None,
2547
2565
  node_layer_arn: typing.Optional[builtins.str] = None,
@@ -2588,6 +2606,9 @@ class DatadogLambdaProps:
2588
2606
  :param inject_log_context:
2589
2607
  :param java_layer_arn:
2590
2608
  :param java_layer_version:
2609
+ :param llm_obs_agentless_enabled:
2610
+ :param llm_obs_enabled:
2611
+ :param llm_obs_ml_app:
2591
2612
  :param log_level:
2592
2613
  :param min_cold_start_trace_duration:
2593
2614
  :param node_layer_arn:
@@ -2635,6 +2656,9 @@ class DatadogLambdaProps:
2635
2656
  check_type(argname="argument inject_log_context", value=inject_log_context, expected_type=type_hints["inject_log_context"])
2636
2657
  check_type(argname="argument java_layer_arn", value=java_layer_arn, expected_type=type_hints["java_layer_arn"])
2637
2658
  check_type(argname="argument java_layer_version", value=java_layer_version, expected_type=type_hints["java_layer_version"])
2659
+ check_type(argname="argument llm_obs_agentless_enabled", value=llm_obs_agentless_enabled, expected_type=type_hints["llm_obs_agentless_enabled"])
2660
+ check_type(argname="argument llm_obs_enabled", value=llm_obs_enabled, expected_type=type_hints["llm_obs_enabled"])
2661
+ check_type(argname="argument llm_obs_ml_app", value=llm_obs_ml_app, expected_type=type_hints["llm_obs_ml_app"])
2638
2662
  check_type(argname="argument log_level", value=log_level, expected_type=type_hints["log_level"])
2639
2663
  check_type(argname="argument min_cold_start_trace_duration", value=min_cold_start_trace_duration, expected_type=type_hints["min_cold_start_trace_duration"])
2640
2664
  check_type(argname="argument node_layer_arn", value=node_layer_arn, expected_type=type_hints["node_layer_arn"])
@@ -2709,6 +2733,12 @@ class DatadogLambdaProps:
2709
2733
  self._values["java_layer_arn"] = java_layer_arn
2710
2734
  if java_layer_version is not None:
2711
2735
  self._values["java_layer_version"] = java_layer_version
2736
+ if llm_obs_agentless_enabled is not None:
2737
+ self._values["llm_obs_agentless_enabled"] = llm_obs_agentless_enabled
2738
+ if llm_obs_enabled is not None:
2739
+ self._values["llm_obs_enabled"] = llm_obs_enabled
2740
+ if llm_obs_ml_app is not None:
2741
+ self._values["llm_obs_ml_app"] = llm_obs_ml_app
2712
2742
  if log_level is not None:
2713
2743
  self._values["log_level"] = log_level
2714
2744
  if min_cold_start_trace_duration is not None:
@@ -2889,6 +2919,21 @@ class DatadogLambdaProps:
2889
2919
  result = self._values.get("java_layer_version")
2890
2920
  return typing.cast(typing.Optional[jsii.Number], result)
2891
2921
 
2922
+ @builtins.property
2923
+ def llm_obs_agentless_enabled(self) -> typing.Optional[builtins.bool]:
2924
+ result = self._values.get("llm_obs_agentless_enabled")
2925
+ return typing.cast(typing.Optional[builtins.bool], result)
2926
+
2927
+ @builtins.property
2928
+ def llm_obs_enabled(self) -> typing.Optional[builtins.bool]:
2929
+ result = self._values.get("llm_obs_enabled")
2930
+ return typing.cast(typing.Optional[builtins.bool], result)
2931
+
2932
+ @builtins.property
2933
+ def llm_obs_ml_app(self) -> typing.Optional[builtins.str]:
2934
+ result = self._values.get("llm_obs_ml_app")
2935
+ return typing.cast(typing.Optional[builtins.str], result)
2936
+
2892
2937
  @builtins.property
2893
2938
  def log_level(self) -> typing.Optional[builtins.str]:
2894
2939
  result = self._values.get("log_level")
@@ -4396,6 +4441,9 @@ def _typecheckingstub__7d2984f96d56b35b6bf9f462eeb539cb66d7814bc0c2c05efa693a19e
4396
4441
  inject_log_context: typing.Optional[builtins.bool] = None,
4397
4442
  java_layer_arn: typing.Optional[builtins.str] = None,
4398
4443
  java_layer_version: typing.Optional[jsii.Number] = None,
4444
+ llm_obs_agentless_enabled: typing.Optional[builtins.bool] = None,
4445
+ llm_obs_enabled: typing.Optional[builtins.bool] = None,
4446
+ llm_obs_ml_app: typing.Optional[builtins.str] = None,
4399
4447
  log_level: typing.Optional[builtins.str] = None,
4400
4448
  min_cold_start_trace_duration: typing.Optional[jsii.Number] = None,
4401
4449
  node_layer_arn: typing.Optional[builtins.str] = None,
@@ -4516,6 +4564,9 @@ def _typecheckingstub__63d91330a506031886b9d88e6eb264015f9a55aa2384c231f96607376
4516
4564
  inject_log_context: typing.Optional[builtins.bool] = None,
4517
4565
  java_layer_arn: typing.Optional[builtins.str] = None,
4518
4566
  java_layer_version: typing.Optional[jsii.Number] = None,
4567
+ llm_obs_agentless_enabled: typing.Optional[builtins.bool] = None,
4568
+ llm_obs_enabled: typing.Optional[builtins.bool] = None,
4569
+ llm_obs_ml_app: typing.Optional[builtins.str] = None,
4519
4570
  log_level: typing.Optional[builtins.str] = None,
4520
4571
  min_cold_start_trace_duration: typing.Optional[jsii.Number] = None,
4521
4572
  node_layer_arn: typing.Optional[builtins.str] = None,
@@ -33,9 +33,9 @@ import constructs._jsii
33
33
 
34
34
  __jsii_assembly__ = jsii.JSIIAssembly.load(
35
35
  "datadog-cdk-constructs-v2",
36
- "2.6.0",
36
+ "2.7.0",
37
37
  __name__[0:-6],
38
- "datadog-cdk-constructs-v2@2.6.0.jsii.tgz",
38
+ "datadog-cdk-constructs-v2@2.7.0.jsii.tgz",
39
39
  )
40
40
 
41
41
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datadog-cdk-constructs-v2
3
- Version: 2.6.0
3
+ Version: 2.7.0
4
4
  Summary: CDK Construct Library to automatically instrument Python and Node Lambda functions with Datadog using AWS CDK v2
5
5
  Home-page: https://github.com/DataDog/datadog-cdk-constructs
6
6
  Author: Datadog
@@ -254,11 +254,11 @@ To further configure your DatadogLambda construct for Lambda, use the following
254
254
  | `javaLayerArn` | `java_layer_arn` | The custom ARN of the Java layer to install. Required if you are deploying at least one Lambda function written in Java and `addLayers` is `true`. **Warning**: This parameter and `javaLayerVersion` are mutually exclusive. If used, only set one or the other. |
255
255
  | `dotnetLayerVersion` | `dotnet_layer_version` | Version of the .NET layer to install, such as `13`. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. Find the latest version number from [here](https://github.com/DataDog/dd-trace-dotnet-aws-lambda-layer/releases). **Warning**: This parameter and `dotnetLayerArn` are mutually exclusive. If used, only set one or the other. |
256
256
  | `dotnetLayerArn` | `dotnet_layer_arn` | The custom ARN of the .NET layer to install. Required if you are deploying at least one Lambda function written in .NET and `addLayers` is `true`. **Warning**: This parameter and `dotnetLayerVersion` are mutually exclusive. If used, only set one or the other. . |
257
- | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
258
- | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
257
+ | `extensionLayerVersion` | `extension_layer_version` | Version of the Datadog Lambda Extension layer to install, such as 5. When `extensionLayerVersion` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups will not be subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and `extensionVersionArn` are mutually exclusive. Set only one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
258
+ | `extensionLayerArn` | `extension_layer_arn` | The custom ARN of the Datadog Lambda Extension layer to install. When `extensionLayerArn` is set, `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`) needs to be set as well. When enabled, lambda function log groups are not subscribed by the forwarder. Learn more about the Lambda extension [here](https://docs.datadoghq.com/serverless/datadog_lambda_library/extension/). **Warning**: This parameter and`extensionLayerVersion` are mutually exclusive. If used, only set one or the other. **Note**: If this parameter is set, it adds a layer even if `addLayers` is set to `false`. |
259
259
  | `forwarderArn` | `forwarder_arn` | When set, the plugin automatically subscribes the Datadog Forwarder to the functions' log groups. Do not set `forwarderArn` when `extensionLayerVersion` or `extensionLayerArn` is set. |
260
260
  | `createForwarderPermissions` | `createForwarderPermissions` | When set to `true`, creates a Lambda permission on the the Datadog Forwarder per log group. Since the Datadog Forwarder has permissions configured by default, this is unnecessary in most use cases. |
261
- | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey` or `apiKeySecretArn`). |
261
+ | `flushMetricsToLogs` | `flush_metrics_to_logs` | Send custom metrics using CloudWatch logs with the Datadog Forwarder Lambda function (recommended). Defaults to `true` . If you disable this parameter, it's required to set `apiKey` (or if encrypted, `apiKMSKey`, `apiKeySecret`, or `apiKeySecretArn`). |
262
262
  | `site` | `site` | Set which Datadog site to send data. This is only used when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. Possible values are `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`, `ap2.datadoghq.com`, and `ddog-gov.com`. The default is `datadoghq.com`. |
263
263
  | `apiKey` | `api_key` | Datadog API Key, only needed when `flushMetricsToLogs` is `false` or `extensionLayerVersion` or `extensionLayerArn` is set. For more information about getting a Datadog API key, see the [API key documentation](https://docs.datadoghq.com/account_management/api-app-keys/#api-keys). |
264
264
  | `apiKeySecretArn` | `api_key_secret_arn` | The ARN of the secret storing the Datadog API key in AWS Secrets Manager. Use this parameter in place of `apiKey` when `flushMetricsToLogs` is `false` or `extensionLayer` is set. Remember to add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. |
@@ -286,6 +286,9 @@ To further configure your DatadogLambda construct for Lambda, use the following
286
286
  | `apmFlushDeadline` | `apm_flush_deadline` | Used to determine when to submit spans before a timeout occurs, in milliseconds. When the remaining time in an AWS Lambda invocation is less than the value set, the tracer attempts to submit the current active spans and all finished spans. Supported for Node.js and Python. Defaults to `100` milliseconds. |
287
287
  | `redirectHandler` | `redirect_handler` | When set to `false`, skip redirecting handler to the Datadog Lambda Library's handler. Useful when only instrumenting with Datadog Lambda Extension. Defaults to `true`. |
288
288
  | `grantSecretReadAccess` | `grant_secret_read_access` | When set to `true` and `apiKeySecretArn` is provided, automatically grant read access to the given secret to all the lambdas added. Defaults to `true`. |
289
+ | `llmObsEnabled` | `llm_obs_enabled` | Toggle to enable submitting data to LLM Observability Defaults to `false`. |
290
+ | `llmObsMlApp` | `llm_obs_ml_app` | The name of your LLM application, service, or project, under which all traces and spans are grouped. This helps distinguish between different applications or experiments. See [Application naming guidelines](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#application-naming-guidelines) for allowed characters and other constraints. To override this value for a given root span, see [Tracing multiple applications](https://docs.datadoghq.com/llm_observability/sdk/?tab=nodejs#tracing-multiple-applications). Required if `llmObsEnabled` is `true` |
291
+ | `llmObsAgentlessEnabled` | `llm_obs_agentless_enabled` | Only required if you are not using the Datadog Agent, in which case this should be set to `true`. Defaults to `false`. |
289
292
 
290
293
  **Note**: Using the parameters above may override corresponding function level `DD_XXX` environment variables.
291
294
 
@@ -12,4 +12,4 @@ src/datadog_cdk_constructs_v2.egg-info/dependency_links.txt
12
12
  src/datadog_cdk_constructs_v2.egg-info/requires.txt
13
13
  src/datadog_cdk_constructs_v2.egg-info/top_level.txt
14
14
  src/datadog_cdk_constructs_v2/_jsii/__init__.py
15
- src/datadog_cdk_constructs_v2/_jsii/datadog-cdk-constructs-v2@2.6.0.jsii.tgz
15
+ src/datadog_cdk_constructs_v2/_jsii/datadog-cdk-constructs-v2@2.7.0.jsii.tgz