Skip to content

feat: add lambda specifc dsm context extraction code#610

Closed
michael-zhao459 wants to merge 1 commit intomichael.zhao/dsm-lambda-snsfrom
michael.zhao/get-dsm-context
Closed

feat: add lambda specifc dsm context extraction code#610
michael-zhao459 wants to merge 1 commit intomichael.zhao/dsm-lambda-snsfrom
michael.zhao/get-dsm-context

Conversation

@michael-zhao459
Copy link
Contributor

@michael-zhao459 michael-zhao459 commented Jun 9, 2025

What does this PR do?

This PR adds a get_dsm_context_from_lambda() function, which allows for the lamba layer repo to hold the context extraction code instead of the tracer (context extraction function is lambda specific)

Motivation

Annoying to manage the context extraction from both the tracer and lambda layer code

Testing Guidelines

Wrote comprehensive unit tests for the function

Additional Notes

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)

Copy link
Contributor Author

michael-zhao459 commented Jun 9, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@michael-zhao459 michael-zhao459 changed the title add get dsm context into lambda llayer feat dsm: Jun 9, 2025
@michael-zhao459 michael-zhao459 changed the title feat dsm: feat: add lambda specifc dsm context extraction code Jun 9, 2025
@michael-zhao459 michael-zhao459 marked this pull request as ready for review June 9, 2025 14:08
@michael-zhao459 michael-zhao459 requested review from a team as code owners June 9, 2025 14:08
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