- https://github.com/DataDog/datadog-lambda-python/pull/323 Env variables depend on DD_TRACE_ENABLED , i.e. false if DD_TRACE_ENABLED false
- DD_COLD_START_TRACING for cold start aws.lambda.import spans
- DD_TRACE_MANAGED_SERVICES for inferred spans
- DD_DECODE_AUTHORIZER_CONTEXT and DD_ENCODE_AUTHORIZER_CONTEXT for lambda authorizor spans (a special case for inferred spans)
- https://github.com/DataDog/datadog-lambda-python/pull/325 Authorizer lambda python3.7 bug fix
- https://github.com/DataDog/datadog-lambda-python/pull/322 Make the layer size smaller
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:72
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:72
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:72
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:72
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:72
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:72
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:72
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:72
**Full changelog:** https://github.com/DataDog/datadog-lambda-python/compare/v71...v72
v71
What's Changed
- Add Python 3.10 support
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:71
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:71
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:71
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:71
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:71
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:71
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:71
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:71
**Full changelog:** https://github.com/DataDog/datadog-lambda-python/compare/v70...v71
v70
What's Changed
- Lambda and Step Functions Span Linking 320
- Modify end time of lambda load span to be last cold start node's end_time 319
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:70
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:70
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:70
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:70
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:70
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:70
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:70
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:70
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:70
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:70
**Full changelog:** https://github.com/DataDog/datadog-lambda-python/compare/v69...v70
v69
⚠️ We recently identified that this library was incompatible with the newly added [Lineage](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader) field of the X-Ray tracing header. This change has already been observed in eu-west-1 and eu-north-1 regions, and AWS will gradually roll out the change to the remaining regions in the next few weeks.
The impact is limited to Lambda functions with the environment variable `DD_MERGE_XRAY_TRACES` set to `true`. You can use the following metric query to find impacted Lambda functions in your Datadog orgs.
`sum:aws.lambda.invocations{runtime:python*,dd.merge_xray_traces:true} by {aws_account,region,functionname}.as_count()`
The impacted Lambda functions will
- produce incomplete traces without the aws.lambda span if you have tracing enabled
- produce the following errors to the logs
python
Traceback (most recent call last):
File "/var/task/datadog_lambda/wrapper.py", line 247, in _before
set_dd_trace_py_root(trace_context_source, self.merge_xray_traces)
File "/var/task/datadog_lambda/tracing.py", line 542, in set_dd_trace_py_root
context = dict(dd_trace_context)
TypeError: 'NoneType' object is not iterable
However,
- The errors do NOT crash or degrade your application
- There are no impact to metrics and logs collection
- There are no impact to APM traces except for the aws.lambda spans
Although the error is non-fatal, we still recommend upgrade your datadog-lambda-library to the current version.
- if you installed the datadog-lambda-python into your deployment package using pip, then you need to update the version to 4.69.0 in requirements.txt and redeploy.
- if you installed the Datadog Lambda layer for Python, such as Datadog-Python38:68, you need to [update](https://docs.datadoghq.com/serverless/installation/python/#installation) the layer version to 69, in your CDK construct or SAM transform.
- If you are using the plugin for serverless framework, you need to upgrade to [v5.21.0](https://github.com/DataDog/serverless-plugin-datadog/releases/tag/v5.21.0).
What's Changed
* use ddsaml2aws by joeyzhao2018 in https://github.com/DataDog/datadog-lambda-python/pull/301
* redact dd-api-key by joeyzhao2018 in https://github.com/DataDog/datadog-lambda-python/pull/307
* feat: support LINEAGE field on x-ray trace ID by astuyve in https://github.com/DataDog/datadog-lambda-python/pull/310
* fix the flaky test_exec_module_failure_case by enforcing the _cold_st… by joeyzhao2018 in https://github.com/DataDog/datadog-lambda-python/pull/311
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:69
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:69
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:69
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:69
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:69
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:69
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:69
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:69
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:69
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:69
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v68...v69
v68
What's Changed
* cold start tracing (python) by joeyzhao2018 in https://github.com/DataDog/datadog-lambda-python/pull/299
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:68
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:68
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:68
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:68
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:68
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:68
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:68
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:68
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:68
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:68
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v4.67.0...v68
v67
What's Changed
* issue 295 by joeyzhao2018 in https://github.com/DataDog/datadog-lambda-python/pull/296
* build: relax `datadog` version by filip-halemba in https://github.com/DataDog/datadog-lambda-python/pull/290
New Contributors
* filip-halemba made their first contribution in https://github.com/DataDog/datadog-lambda-python/pull/290
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:67
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:67
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:67
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:67
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:67
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:67
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:67
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:67
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:67
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:67
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v66...v67
v66
* update ddtrace to 1.6.4 (https://github.com/DataDog/datadog-lambda-python/pull/288)
* Bump certifi from 2022.9.24 to 2022.12.7 (https://github.com/DataDog/datadog-lambda-python/pull/279)
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:66
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:66
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:66
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:66
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:66
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:66
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:66
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:66
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:66
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:66
**Full Changelog:** [`v65...v66`](https://github.com/DataDog/datadog-lambda-python/compare/v65...v66)
v65
* Authorizer trace context (256)
* Use context.aws_request_id instead of http payload's requestId in the spans' tags (266)
* Handle custom detail field in Lambda event payloads (276)
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:65
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:65
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:65
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:65
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:65
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:65
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:65
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:65
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:65
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:65
**Full Changelog:** [`v64...v65`](https://github.com/DataDog/datadog-lambda-python/compare/v64...v65)
v64
What's Changed
* Fix error when APIGateway headers are None (259)
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:64
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:64
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:64
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:64
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:64
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:64
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:64
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:64
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:64
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:64
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v63...v64
v63
What's Changed
* Bug: Fixed issue that was raising an exception when testing a function using the API Gateway AWS Proxy sample event in the Lambda UI
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:63
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:63
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:63
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:63
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:63
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:63
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:63
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:63
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:63
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:63
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v62...v63
v62
What's Changed
* bump github action versions by maxday in https://github.com/DataDog/datadog-lambda-python/pull/242
* Update Dependencies by github-actions in https://github.com/DataDog/datadog-lambda-python/pull/239
* feat: Use dd-trace-141 by astuyve in https://github.com/DataDog/datadog-lambda-python/pull/246
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:62
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:62
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:62
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:62
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:62
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:62
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:62
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:62
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:62
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:62
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v61...v62
v61
What's Changed
*BREAKING CHANGE*
* breaking: bump dd trace to 1.2.1 by astuyve in https://github.com/DataDog/datadog-lambda-python/pull/237
* Remove python 3.6 support by maxday in https://github.com/DataDog/datadog-lambda-python/pull/243
* [beta] Python Profiling support by astuyve in https://github.com/DataDog/datadog-lambda-python/pull/244
* Relax datadog version requirement by alindeman in https://github.com/DataDog/datadog-lambda-python/pull/231
* Add debugging log for metric sent to extension by tianchu in https://github.com/DataDog/datadog-lambda-python/pull/238
* Support ap-southeast-1
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:61
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:61
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:61
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:61
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:61
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:61
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:61
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:61
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:61
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:61
New Contributors
* alindeman made their first contribution in https://github.com/DataDog/datadog-lambda-python/pull/231
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v60...v61
v60
What's Changed
* Send errors metrics for 5xx response from API Gateway, Lambda Function URL, or ALB by kimi-p in https://github.com/DataDog/datadog-lambda-python/pull/229
* fix: type check event before treating it as a dict by astuyve in https://github.com/DataDog/datadog-lambda-python/pull/233
* feat: Replace list with set by astuyve in https://github.com/DataDog/datadog-lambda-python/pull/236
New Contributors
* kimi-p made their first contribution in https://github.com/DataDog/datadog-lambda-python/pull/229
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:60
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:60
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:60
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:60
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:60
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:60
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:60
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:60
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:60
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:60
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:60
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:60
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v59...v60
v59
What's Changed
* misc: Use dd-trace-py 0.61.1 by adamantike in https://github.com/DataDog/datadog-lambda-python/pull/227
* Update Dependencies by github-actions in https://github.com/DataDog/datadog-lambda-python/pull/218
New Contributors
* adamantike made their first contribution in https://github.com/DataDog/datadog-lambda-python/pull/227
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v58...v59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:59
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:59
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:59
v58
Changes
- [Fix keyError issue when parsing event source](https://github.com/DataDog/datadog-lambda-python/pull/226)
Layer ARNs
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:58
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:58
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:58
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:58
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:58
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:58
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:58
v57
What's Changed
* [SLS-2141] Fix `keyError` issue when creating inferred span by hghotra in https://github.com/DataDog/datadog-lambda-python/pull/223
**Full Changelog**: https://github.com/DataDog/datadog-lambda-python/compare/v56...v57
Layer ARNs
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:57
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:57
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:57
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:57
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:57
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:57
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:57
v54
* Bumps DD Trace to 0.59.2 so [SNS Message Attributes are B64 encoded](https://github.com/DataDog/dd-trace-py/pull/3404)
* Decode B64 SNS Message Attributes in DD Lambda Python(211)
v52
- Releases dd-trace v0.58.1, which includes trace propagation for AWS managed services (https://github.com/DataDog/datadog-lambda-python/pull/206)
v51
- Infer spans for managed services
v50
* Fix issue with redundant metadata segments being set to x-ray 193
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:50
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:50
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:50
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:50
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:50
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:50
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:50
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:50
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:50
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:50
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:50
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:50
v49
- Add Optional Capture Lambda Payload feature 180
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:49
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:49
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:49
v48
- Add ARM compatible layers 182
- Fix x-ray trace merging edge case 179
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:48
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:48
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:48
v47
* Upgrade ddtrace (173)
* Remove aws-xray-sdk (171)
* Rewrite UPD client when the extension is present to avoid loading datadogpy (170)
* Remove requests for urllib (168)
* Improve Dockerfile to cache pip install (167)
* Prepare for requests removal : add 100% unit test coverage on extension.py (166)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:47
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:47
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:47
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:47
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:47
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:47
v46
- Add the `functionname` attribute to the Lambda span metadata (162)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:46
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:46
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:46
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:46
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:46
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:46
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:46
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:46
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:46
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:46
v45
* Add support for Python 3.9 (164)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:45
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:45
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:45
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:45
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:45
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:45
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:45
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:45
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:45
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:45
v44
* Catch invocation event tag extraction exceptions (157)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:44
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:44
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:44
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:44
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:44
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:44
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:44
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:44
v43
- Update AWS-Xray SDK to version 2.8.0
- Try decrypting KMS key without the encryption context first
- Only replace the logging formatter if it is a logging.Formatter
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:43
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:43
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:43
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:43
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:43
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:43
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:43
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:43
v42
- Ensure `http.status_code` is always a string (148)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:42
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:42
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:42
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:42
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:42
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:42
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:42
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:42
v41
- Check for the new direct invocation trace format and use that (146)
- Fix hello route hit too early (147)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:41
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:41
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:41
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:41
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:41
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:41
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:41
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:41
v40
- Define span on init for local invocations (144)
- Support decrypting API keys encrypted with an encryption context (145)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:40
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:40
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:40
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:40
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:40
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:40
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:40
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:40
v39
* Check Extension installed before registering with it. 143
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:39
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:39
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:39
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:39
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:39
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:39
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:39
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:39
v38
* Catch X-ray subsegment creation exceptions (142)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:38
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:38
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:38
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:38
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:38
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:38
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:38
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:38
v37
- Fix issue with enhanced metrics not working with extension. 140
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:37
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:37
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:37
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:37
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:37
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:37
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:37
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:37
v36
- Retry flush metrics from ThreadStats to Datadog over RemoteDisconnected errors. 138
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:36
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:36
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:36
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:36
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:36
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:36
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:36
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:36
v35
- Type check Lambda events when extracting trigger tags (136)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:35
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:35
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:35
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:35
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:35
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:35
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:35
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:35
v34
* Make correlation dummy span use integers for trace id and span id 135
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:34
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:34
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:34
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:34
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:34
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:34
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:34
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:34
v33
* Updates dd-trace-py to latest version, which can submit traces via the Datadog Extension
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:33
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:33
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:33
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:33
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:33
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:33
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:33
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:33
v32
* Updates specified version of setuptools to use the current latest or greater for Python 2 or Python 3 https://github.com/DataDog/datadog-lambda-python/pull/126
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:32
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:32
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:32
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:32
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:32
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:32
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:32
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:32
v31
Lambda layer version: 31
* Disable flushing in thread (120)
Note: This release includes a bug fix that is technically speaking a breaking change. The change only affects long-running Lambda functions. Custom metrics submitted synchronously are no longer flushed to the Datadog API every 10s in the background, and only flushed at the end of the invocation. See additional details in disable flushing in thread (120).
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:31
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:31
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:31
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:31
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:31
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:31
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:31
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:31
v30
Lambda layer version: 30
* Enable compressed payloads on ThreadStats object (86)
* Fix get status_code (117)
* Improve publish script (116)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:30
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:30
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:30
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:30
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:30
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:30
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:30
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:30
v29
Lambda layer version: 29
* Fix incorrect parent id of aws.lambda span (115)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:29
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:29
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:29
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:29
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:29
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:29
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:29
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:29
v28
Lambda layer version: 28
* Extract span tags from triggering event (101)
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:28
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:28
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:28
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:28
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:28
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:28
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:28
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:28
v27
Lambda layer version: 27
- Updates `dd_trace` to 0.45.0
- Adds SQS trace extraction
- Adds Lambda Context trace extraction
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:27
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:27
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:27
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:27
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:27
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:27
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:27
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:27
v26
Lambda layer version: 26
- Update dependencies to latest version
Layer ARNs:
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:26
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:26
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:26
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:26
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:26
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:26
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:26
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:26
v25
**Lambda layer version:** 25
From this version onward, the Lambda layer will be signed by Datadog for use with [code signing for AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
**Layer ARNs:**
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:25
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:25
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:25
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:25
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:25
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:25
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:25
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:25
**Changes:**
- Sign layers using AWS Signer before publishing (99)
v24
Fixes bug where traces weren't capturing exceptions raised form the handler 98
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:24
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:24
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:24
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:24
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:24
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:24
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:24
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:24
v23
Add support for datadog's lambda extension for sending metrics
https://docs.datadoghq.com/serverless/datadog_lambda_library/extension
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:23
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:23
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:23
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:23
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python27:23
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python36:23
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python37:23
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:23
v21
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:21
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:21
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:21
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:21
Fixes bug in module import redirect - https://github.com/DataDog/datadog-lambda-python/pull/79
v19
Layers
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:19
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:19
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:19
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:19
Changes
Get `function_version` from `function_arn`
v18
Lambda Layer version 18
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:18
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:18
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:18
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:18
Changes
*. Add code change free handler
v17
Lambda Layer version 17
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:17
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:17
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:17
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:17
Replace <AWS_REGION> above with your Lambda's region and choose the layer ARN that specifies the runtime that your Lambda is using.
Changes:
* Fix for issue where root dd-trace span was being disguarded 60
v16
Lambda Layer version 16
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python27:16
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python36:16
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python37:16
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:16
Replace <AWS_REGION> above with your Lambda's region and choose the layer ARN that specifies the runtime that your Lambda is using.
Changes:
* Patching http clients erase existing headers https://github.com/DataDog/datadog-lambda-layer-python/pull/56
* Lowercase function arn in trace metadata https://github.com/DataDog/datadog-lambda-layer-python/pull/57