Skip to content

chore:Add DD_DURABLE_CROSS_INVOCATION_TRACING_ENABLED explanation in README.md#833

Open
joeyzhao2018 wants to merge 1 commit into
mainfrom
joey/update_readme
Open

chore:Add DD_DURABLE_CROSS_INVOCATION_TRACING_ENABLED explanation in README.md#833
joeyzhao2018 wants to merge 1 commit into
mainfrom
joey/update_readme

Conversation

@joeyzhao2018

@joeyzhao2018 joeyzhao2018 commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Add DD_DURABLE_CROSS_INVOCATION_TRACING_ENABLED explanation in README.md

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

@joeyzhao2018 joeyzhao2018 requested review from a team as code owners June 17, 2026 16:20

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4cb4fdfdbd

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md
| DD_CAPTURE_LAMBDA_PAYLOAD | [Captures incoming and outgoing AWS Lambda payloads][1] in the Datadog APM spans for Lambda invocations. | `false` |
| 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` |
| DD_EXCEPTION_REPLAY_ENABLED | When set to `true`, the Lambda will run with Error Tracking Exception Replay enabled, capturing local variables. | `false` |
| 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` |

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not document unsupported durable env flag

This row is added to the table of datadog-lambda-python environment variables, but a repo-wide search shows DD_DURABLE_CROSS_INVOCATION_TRACING_ENABLED only appears in this README entry, unlike the other variables that are wired through datadog_lambda/config.py; the durable checkpoint extraction path also runs unconditionally when DurableExecutionArn is present. Users who set this documented flag to false will have it ignored by this package, so please either implement/read the setting or avoid documenting it here until it is actually supported.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I heard you, Codex. Yes we need to migrate this library to the dd-trace library. But for now that feature flag's feature is split between two repos unfortunately....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant