**DO NOT USE THIS VERSION!**
A bug fix in on the way: https://github.com/DataDog/datadog-lambda-layer-python/pull/56
Lambda Layer version 15
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:15
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:15
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:15
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:15
Replace <AWS_REGION> above with your Lambda's region and choose the layer ARN that specifies the runtime that your Lambda is using.
Changes:
* Adds experimental dd-trace-py support, see README for details
v14
Lambda Layer version 14
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:14
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:14
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:14
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:14
Replace `<AWS_REGION>` above with your Lambda's region and choose the layer ARN that specifies the runtime that your Lambda is using.
Changes:a
* Avoid generating duplicate enhanced metrics when Datadog serverless plugin is used and the Lambda function handler is decorated with `datadog_lambda_wrapper` (https://github.com/DataDog/datadog-lambda-layer-python/pull/46, https://github.com/DataDog/datadog-lambda-layer-python/pull/47)
v13
Lambda Layer version 13
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:13
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:13
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:13
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:13
Replace `<AWS_REGION>` above with your Lambda's region and choose the layer ARN that specifies the runtime that your Lambda is using.
Changes:
* Defaults the DD_LOGS_INJECTION option to true. This is a breaking change. Please test any custom [Datadog pipelines](https://docs.datadoghq.com/logs/processing/pipelines/) you have handling Lambda logs after upgrade.
v12
Datadog Python Lambda Layer version 12
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:12
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:12
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:12
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:12
Replace `<AWS_REGION>` above with your Lambda's region and choose the layer ARN that specifies the runtime that your Lambda is using.
Changes:
- Defaults the DD_ENHANCED_METRICS option to `true`
- If DD_ENHANCED_METRICS is enabled, always writes enhanced metrics to stdout
- Breaking change: if you previously set the env var DD_ENHANCED_METRICS=true and did not set DD_FLUSH_TO_LOG=true, the enhanced metrics will no longer be submitted to Datadog synchronously; the metrics will now be written to logs. If you already have a Datadog Forwarder Lambda configured, that will read the enhanced metrics logs and submit the metrics asynchronously. If you do not have a Datadog Forwarder set up, you'll need to create one to get enhanced metrics into your Datadog account. See [Datadog Forwarder Lambda setup instructions](https://github.com/DataDog/datadog-serverless-functions/tree/master/aws/logs_monitoring).
- Because of the breaking change above, we've bumped the major package version so that this release is version 1.12.0. We've set the minor version to 12 so that the minor version of our package stays in alignment with the version of the layer we're releasing.
v11
Lambda Layer version 11
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:11`
Replace `PYTHON_RUNTIME` above with Datadog-Python27, Datadog-Python36, Datadog-Python37 or Datadog-Python38 to match your Lambda's Python runtime.
Changelog:
* Add python 3.8 support
* Upgrade dependencies
v10
Lambda Layer version 10
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:11`
Replace `PYTHON_RUNTIME` above with Datadog-Python27, Datadog-Python36, Datadog-Python37 or Datadog-Python38 to match your Lambda's Python runtime.
Changelog:
* Support fetching API Key from secrets manager using `DD_API_KEY_SECRET_ARN`
* Remove botocore to reduce package size
* Update dependencies
v9
Lambda Layer version 9
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:8`
Replace `PYTHON_RUNTIME` above with Datadog-Python27, Datadog-Python36, or Datadog-Python37 to match your Lambda's Python runtime.
Changelog:
- Tag layer-generated `aws.lambda.enhanced.invocations` and `aws.lambda.enhanced.errors` enhanced metrics with `runtime` and `memorysize`
v8
Lambda Layer version 8
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:8`
Replace `PYTHON_RUNTIME` above with Datadog-Python27, Datadog-Python36, or Datadog-Python37 to match your Lambda's Python runtime.
Changelog:
- Remove vendored botocore requests patching since the package has been removed from the latest botocore
- Update README for enhanced metrics instructions
v7
Lambda Layer version 7
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:7`
Replace `PYTHON_RUNTIME` above with Datadog-Python27, Datadog-Python36, or Datadog-Python37 to match your Lambda's Python runtime.
Changelog:
- Increment `aws.lambda.enhanced.invocations` and `aws.lambda.enhanced.errors` metrics for each invocation if `DD_ENHANCED_METRICS` env var is set to true.
v6
Lambda Layer version 6
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:6`
Replace `PYTHON_RUNTIME` with `Datadog-Python27`, `Datadog-Python36`, or `Datadog-Python37` to match your Lambda's Python runtime.
- Support `DD_LOGS_INJECTION` for trace and log correlation
v5
Lambda Layer version 5
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-PYTHON_RUNTIME:5`
Replace `PYTHON_RUNTIME` with `Datadog-Python27`, `Datadog-Python36`, or `Datadog-Python37` to match your Lambda's Python runtime.
- Publish the layer as a package `datadog_lambda` to PyPI
- Support environment variable `DD_LOG_LEVEL` for debugging
v4
Lambda Layer version 4
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-<PYTHON_RUNTIME>:4`
Replace `<PYTHON_RUNTIME>` with `Datadog-Python27`, `Datadog-Python36`, or `Datadog-Python37` to match your Lambda's Python runtime.
* Support trace headers with mixed casing
v3
Lambda Layer version 3
`arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-<PYTHON_RUNTIME>:3`
Replace `<PYTHON_RUNTIME>` with `Datadog-Python27`, `Datadog-Python36`, or `Datadog-Python37` to match your Lambda's Python runtime.
* Log metrics in a compact format