Skip to content

Releases: DataDog/datadog-lambda-python

v12

04 Feb 18:32
3e676f4
Compare
Choose a tag to compare
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.
  • 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

06 Dec 22:05
84facef
Compare
Choose a tag to compare
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

20 Nov 04:42
Compare
Choose a tag to compare
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

04 Nov 19:19
d29de3b
Compare
Choose a tag to compare
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

24 Oct 16:20
6087ba6
Compare
Choose a tag to compare
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

24 Oct 15:36
63bd818
Compare
Choose a tag to compare
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

01 Oct 13:30
5e37689
Compare
Choose a tag to compare
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

26 Jul 21:48
Compare
Choose a tag to compare
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

23 Jul 18:04
Compare
Choose a tag to compare
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

02 Jul 14:45
4b27d6e
Compare
Choose a tag to compare
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