Skip to content

feat: support osls 4#715

Open
stefan-person wants to merge 1 commit into
DataDog:mainfrom
stefan-person:feat/support-osls-4
Open

feat: support osls 4#715
stefan-person wants to merge 1 commit into
DataDog:mainfrom
stefan-person:feat/support-osls-4

Conversation

@stefan-person

Copy link
Copy Markdown

What does this PR do?

Support osls 4 and use AWS SDK v3 for osls 4 but stick to v2 for the existing serverless or osls 3 case

Motivation

We want to upgrade to osls 4 soon and the serverless-plugin-datadog is currently not supporting it. So I thought to give it a try

Testing Guidelines

Created a small test-lambda and deployed it once with osls 4 and once with osls 3. For both I get the log entries on datadog side for START, END and REPORT.

Additional Notes

To run the tests on my windows machine, I had to adjust the jest config a bit. It should now work for win and unix environment

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

Use AWS SDK v3 for osls 4 and stick to v2 for the existing serverless or osls 3 case
@stefan-person stefan-person requested a review from a team as a code owner July 14, 2026 12:26
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