Skip to content

Commit f23fc9e

Browse files
Move description out of datadog-lambda-python specific variables, as this is defined in dd-trace-py
1 parent 4cb4fdf commit f23fc9e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Follow the [configuration instructions](https://docs.datadoghq.com/serverless/co
1818

1919
For additional tracing configuration options, check out the [official documentation for Datadog trace client](https://ddtrace.readthedocs.io/en/stable/configuration.html).
2020

21+
For AWS Durable functions, trace context is propagated across invocations by dd-trace-py, keeping spans from multiple invocations in one intact trace per durable execution. This is controlled by the dd-trace-py environment variable `DD_DURABLE_CROSS_INVOCATION_TRACING_ENABLED` (default `true`).
22+
2123
Besides the environment variables supported by dd-trace-py, the datadog-lambda-python library added following environment variables.
2224

2325
| Environment Variables | Description | Default Value |
@@ -30,7 +32,6 @@ Besides the environment variables supported by dd-trace-py, the datadog-lambda-p
3032
| DD_CAPTURE_LAMBDA_PAYLOAD | [Captures incoming and outgoing AWS Lambda payloads][1] in the Datadog APM spans for Lambda invocations. | `false` |
3133
| DD_CAPTURE_LAMBDA_PAYLOAD_MAX_DEPTH | Determines the level of detail captured from AWS Lambda payloads, which are then assigned as tags for the `aws.lambda` span. It specifies the nesting depth of the JSON payload structure to process. Once the specified maximum depth is reached, the tag's value is set to the stringified value of any nested elements beyond this level. <br> For example, given the input payload: <pre>{<br> "lv1" : {<br> "lv2": {<br> "lv3": "val"<br> }<br> }<br>}</pre> If the depth is set to `2`, the resulting tag's key is set to `function.request.lv1.lv2` and the value is `{\"lv3\": \"val\"}`. <br> If the depth is set to `0`, the resulting tag's key is set to `function.request` and value is `{\"lv1\":{\"lv2\":{\"lv3\": \"val\"}}}` | `10` |
3234
| DD_EXCEPTION_REPLAY_ENABLED | When set to `true`, the Lambda will run with Error Tracking Exception Replay enabled, capturing local variables. | `false` |
33-
| DD_DURABLE_CROSS_INVOCATION_TRACING_ENABLED | For AWS Durable functions, the tracer creates extra checkpoints named `_datadog_{N}` to propagate trace context across function invocations, keeping spans from multiple invocations in one intact trace for each durable execution. | `true` |
3435

3536

3637
## Opening Issues

0 commit comments

Comments
 (0)