datadog-lambda-python
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 in version 4.62.0 and layer version 62 and above. This optional feature is enabled by setting the DD_PROFILING_ENABLED environment variable to true. During the beta period, profiling is available at no additional cost.
The Continuous Profiler works by spawning a thread which periodically wakes up and takes a snapshot of the CPU and Heap of all running python code. This can include the profiler itself. If you want the Profiler to ignore itself, set DD_PROFILING_IGNORE_PROFILER to true.
Major Version Notes
4.x / Layer version 61+
- Python3.6 support has been deprecated by AWS, and support removed from this library.
dd-traceupgraded from 0.61 to 1.4, full release notes are available hereget_correlation_ids()has been changed toget_log_correlation_context(), which now returns a dictionary containing the activespan_id,trace_id, as well asserviceandenv.
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.
Release files for ivan-datadog-lambda 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ivan_datadog_lambda-1.0.0.tar.gz | 30.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ivan_datadog_lambda-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.3 kB
Release files / ivan_datadog_lambda-1.0.0.tar.gz
| Download URL | ivan_datadog_lambda-1.0.0.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b98869947fa9410e5f6339446aab86c2487aa1b46dd47c3881c9f74894dd55d2
|
|
BLAKE2b-256 checksum How to use checksums |
b425a50d2a5cc958f9d83ac14bd5d3e3427bc4585f72d3b41d4164ed34976409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|
Release files / ivan_datadog_lambda-1.0.0-py3-none-any.whl
| Download URL | ivan_datadog_lambda-1.0.0-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9892995077f8b782d6ab883b8f1a1908e2766223e0a7641207f61cec65799c17
|
|
BLAKE2b-256 checksum How to use checksums |
d8449eb8597d168b1960666ea584071d0359666fab614c08de83101f8ee7fe3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|