Skip to content

Releases: DataDog/datadog-lambda-python

v84

30 Nov 01:59
Compare
Choose a tag to compare
v84

Bug: TypeError: Object of type Context is not JSON serializable

There is a known bug in this version of the datadog_lambda library and it's related Lambda layer versions. It is recommended at this time to roll back to v82 until a fix can be released. Effected users will see the error TypeError: Object of type Context is not JSON serializable occur before their lambda function code executes. See #402 for more details.

Packaged dd-trace-py

version 2.3.1

Full layers:

arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:84
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:84
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:84

Full Changelog: v83...v84

v83

21 Nov 23:23
ec61771
Compare
Choose a tag to compare
v83

Bug: TypeError: Object of type Context is not JSON serializable

There is a known bug in this version of the datadog_lambda library and it's related Lambda layer versions. It is recommended at this time to roll back to v82 until a fix can be released. Effected users will see the error TypeError: Object of type Context is not JSON serializable occur before their lambda function code executes. See #402 for more details.

Breaking change

This is a new major version, which is only breaking as we are upgrading dd-trace-py to v2.x, which is the latest supported release.
We do not expect major disruption for Lambda users, but the full list of changes is available here

As always we recommend all users test this major change in dev/staging environments before deploying to production environments.

Full layers:

arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:83
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:83
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:83

What's Changed

Full Changelog: v82...v83

v82

10 Nov 21:07
Compare
Choose a tag to compare
v82

Packaged dd-trace-py

version 1.20.10

What's Changed

  • feat: opt-in enablement of the instrumentation telemetry client #386
  • feat: new env added DD_CAPTURE_LAMBDA_PAYLOAD_MAX_DEPTH #387 #390
  • misc: new section in the README.md file for env variables information
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:82
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:82
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:82

Full Changelog: v81...v82

v81

18 Oct 15:38
5ffdc80
Compare
Choose a tag to compare
v81

What's Changed

arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:81
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:81
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:81

Full Changelog: v80...v81

v80

11 Sep 20:52
Compare
Choose a tag to compare
v80

What's Changed

#367

  • When DD_CAPTURE_LAMBDA_PAYLOAD enabled, the values in lambda requests/responses will be tagged to the span as strings even for number or boolean values.
  • Support chalice.app.Response and also any custom response/request classes if the classes have either __str__ or to_dict() implemented.
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:80
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:80
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:80

Full Changelog: v79...v80

v79 (datadog-lambda 4.79.0)

01 Sep 17:54
5958375
Compare
Choose a tag to compare

What's Changed

  • feat: Support DD_TRACE_OTEL_ENABLED env var #361
  • misc: change the traceback format to print in one line #362
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:79
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:79
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:79

Full Changelog: v78...v79

v78

07 Aug 16:27
8cd7e0d
Compare
Choose a tag to compare
v78

What's Changed

arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:78
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:78
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:78

Full Changelog: v77...v78

v77

31 Jul 14:25
faf5b6b
Compare
Choose a tag to compare
v77

dd-trace-py included

version 1.15.2

What's Changed

  • Add support for python 3.11
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311:77
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python311-ARM:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311:77
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python311-ARM:77

Full Changelog: v75...v77

v75

30 Jun 15:17
7deccbe
Compare
Choose a tag to compare
v75

What's Changed

arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:75
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:75
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:75
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:75
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:75
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:75
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:75
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:75
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:75
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:75
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:75
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:75

Full Changelog: v74...v75

v74 (4.74.0)

22 Jun 18:35
Compare
Choose a tag to compare

What's Changed

  • DD_SERVICE_MAPPING implementation for inferred spans by @zARODz11z in #333
  • feat: add peer.service by @duncanista in #337
  • fix: unit tests failing due change in internals of tracer by @duncanista in #340
  • bump ddtrace to take advantage of new aws sdk request span tags & reg… by @zARODz11z in #341
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38:74
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python38-ARM:74
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39:74
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python39-ARM:74
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310:74
arn:aws:lambda:<AWS_REGION>:464622532012:layer:Datadog-Python310-ARM:74
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38:74
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python38-ARM:74
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39:74
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python39-ARM:74
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310:74
arn:aws-us-gov:lambda:us-gov-<AWS_REGION>:002406178527:layer:Datadog-Python310-ARM:74

Full Changelog: v73...v74