|
6 | 6 | [](https://chat.datadoghq.com/)
|
7 | 7 | [](https://github.com/DataDog/datadog-lambda-python/blob/main/LICENSE)
|
8 | 8 |
|
9 |
| -Datadog Lambda Library for Python (3.6, 3.7, 3.8, and 3.9) enables enhanced Lambda metrics, distributed tracing, and custom metric submission from AWS Lambda functions. |
| 9 | +Datadog Lambda Library for Python (3.6, 3.7, 3.8, and 3.9) enables enhanced Lambda metrics, distributed tracing, and custom metric submission from AWS Lambda functions. |
10 | 10 |
|
11 | 11 | **IMPORTANT NOTE:** AWS Lambda is expected to receive a [breaking change](https://aws.amazon.com/blogs/compute/upcoming-changes-to-the-python-sdk-in-aws-lambda/) on **March 31, 2021**. If you are using Datadog Python Lambda layer version 7 or below, please upgrade to the latest.
|
12 | 12 |
|
@@ -103,6 +103,24 @@ Initialize the Datadog tracer when set to `true`. Defaults to `false`.
|
103 | 103 |
|
104 | 104 | Set to `true` to merge the X-Ray trace and the Datadog trace, when using both the X-Ray and Datadog tracing. Defaults to `false`.
|
105 | 105 |
|
| 106 | +### DD_TRACE_MANAGED_SERVICES (experimental) |
| 107 | + |
| 108 | +Inferred Spans are spans that Datadog can create based on incoming event metadata. |
| 109 | +Set `DD_TRACE_MANAGED_SERVICES` to `true` to infer spans based on Lambda events. |
| 110 | +Inferring upstream spans is only supported if you are using the [Datadog Lambda Extension](https://docs.datadoghq.com/serverless/libraries_integrations/extension/). |
| 111 | +Defaults to `true`. |
| 112 | +Infers spans for: |
| 113 | + |
| 114 | +- API Gateway REST events |
| 115 | +- API Gateway WebSocket events |
| 116 | +- HTTP API events |
| 117 | +- SQS |
| 118 | +- SNS (SNS messaged delivered via SQS are also supported) |
| 119 | +- Kinesis Streams (if data is a JSON string or base64 encoded JSON string) |
| 120 | +- EventBridge (custom events, where Details is a JSON string) |
| 121 | +- S3 |
| 122 | +- DynamoDB |
| 123 | + |
106 | 124 | ## Opening Issues
|
107 | 125 |
|
108 | 126 | 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.
|
|
0 commit comments