Skip to main content

The Datadog AWS Lambda Library

Project description

datadog-lambda-python

build PyPI PyPI - Python Version Slack License

Datadog Lambda Library for Python (3.7, 3.8, and 3.9) enables enhanced Lambda metrics, distributed tracing, and custom metric submission from AWS Lambda functions.

Installation

Follow the installation instructions, and view your function's enhanced metrics, traces and logs in Datadog.

Configuration

Follow the configuration instructions to tag your telemetry, capture request/response payloads, filter or scrub sensitive information from logs or traces, and more.

Opening Issues

If you encounter a bug with this package, we want to hear about it. Before opening a new issue, search the existing issues to avoid duplicates.

When opening an issue, include the Datadog Lambda Library version, Python version, and stack trace if available. In addition, include the steps to reproduce when appropriate.

You can also open an issue for a feature request.

Lambda Profiling Beta

Datadog's Continuous Profiler is now available in beta for Python. This optional feature is enabled by setting the DD_PROFILING_ENABLED environment variable to True. During the beta period, profiling is available at no cost.

Major Version Notes

4.x / Layer version 61+

  • Python3.6 support has been deprecated by AWS, and support removed from this library.
  • dd-trace upgraded from 0.61 to 1.4, full release notes are available here
    • get_correlation_ids() has been changed to get_log_correlation_context(), which now returns a dictionary containing the active span_id, trace_id, as well as service and env.

Contributing

If you find an issue with this package and have a fix, please feel free to open a pull request following the procedures.

Community

For product feedback and questions, join the #serverless channel in the Datadog community on Slack.

License

Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.

This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2019 Datadog, Inc.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datadog_lambda-4.61.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

datadog_lambda-4.61.0-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file datadog_lambda-4.61.0.tar.gz.

File metadata

  • Download URL: datadog_lambda-4.61.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/2.7.17 Darwin/21.6.0

File hashes

Hashes for datadog_lambda-4.61.0.tar.gz
Algorithm Hash digest
SHA256 c04a28f824d640687463df6fe8750d6cfeaaf05c68ae79f855947c39990b8c12
MD5 979624cc049f8b4f25c266902abb2ebc
BLAKE2b-256 6e33a0d58cc64b685437d1a3c97aa01d750b934e336ea2f0abbcc6c6dec45f02

See more details on using hashes here.

File details

Details for the file datadog_lambda-4.61.0-py3-none-any.whl.

File metadata

  • Download URL: datadog_lambda-4.61.0-py3-none-any.whl
  • Upload date:
  • Size: 35.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/2.7.17 Darwin/21.6.0

File hashes

Hashes for datadog_lambda-4.61.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1acd188e6d64088ba71f0f2f2a249afb9d06a343ee21da5dc3a47267476fbd0
MD5 bf93e00653f8cfc5db6586285ab981f5
BLAKE2b-256 f015398c5eda75cdb605c2e57ed9efd0f99b5967b8495447e687ea7891a94774

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page