Skip to content

feat: add durable function execution tags to Lambda spans#728

Open
lym953 wants to merge 5 commits intomainfrom
yiming.luo/durable-add-tags
Open

feat: add durable function execution tags to Lambda spans#728
lym953 wants to merge 5 commits intomainfrom
yiming.luo/durable-add-tags

Conversation

@lym953
Copy link
Contributor

@lym953 lym953 commented Feb 19, 2026

Extract DurableExecutionArn from the Lambda event payload and add durable_function_execution_name and durable_function_execution_id as span tags, matching the equivalent feature in datadog-lambda-js#730.

What does this PR do?

Motivation

Testing Guidelines

Deployed changes and invoked lambda. Confirmed we are seeing the durable_function_execution_name and durable_function_execution_id tags, link

image

Additional Notes

Thanks @jchrostek-dd for the reference PR DataDog/datadog-lambda-js#730.
Thanks Claude Code.

Types of Changes

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

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

lym953 and others added 4 commits February 18, 2026 16:41
Extract DurableExecutionArn from the Lambda event payload and add
durable_function_execution_name and durable_function_execution_id
as span tags, matching the equivalent feature in datadog-lambda-js#730.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lym953 lym953 marked this pull request as ready for review February 19, 2026 21:26
@lym953 lym953 requested review from a team as code owners February 19, 2026 21:26
@lym953 lym953 requested a review from duncanista February 19, 2026 21:26
Comment on lines +46 to +47
"durable_function_execution_name": execution_name,
"durable_function_execution_id": execution_id,
Copy link
Contributor

Choose a reason for hiding this comment

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

Have we talked with APM team on tag convention?

@duncanista
Copy link
Contributor

Approved, just fix errors from CI

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.

2 participants

Comments