Skip to content

Conversation

@jj22ee
Copy link
Contributor

@jj22ee jj22ee commented Mar 13, 2025

Issue #, if available:

Description of changes:

  • Upgrade OTel dependencies
    • Refactor code due to OTel dep updates.
  • Remove S3 and Kinesis Service Extensions (which are now included from upstream)
  • Removed extending instrumentations in favor of patching them.
    • Remove ESM workaround for Lambda Instrumentation
    • Update propagation fix for AWS SDK instrumentation
  • Update contract/unit tests

Testing:

  • Lambda:
    image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jj22ee jj22ee force-pushed the otel-upgrade branch 9 times, most recently from c46ce56 to aeb9c6c Compare March 13, 2025 08:02
@jj22ee jj22ee marked this pull request as ready for review March 15, 2025 00:47
@jj22ee jj22ee requested a review from a team as a code owner March 15, 2025 00:47
@pxaws pxaws merged commit 225ce69 into aws-observability:main Mar 19, 2025
9 checks passed
ezhang6811 added a commit that referenced this pull request Mar 22, 2025
*Description of changes:*
This PR is a rehash of #163 with some minor changes reverted after
several autoinstrumentation package dependencies were upgraded in #168.
The changes suggested by the unaddressed comments in the previous PR are
addressed here.

The primary change made to reduce the cold start time was to bundle the
ADOT autoinstrumentation package with webpack instead of using the TS
compiler. Using the same build targets as the upstream (see [this
PR](https://github.com/open-telemetry/opentelemetry-lambda/pull/1679/files)),
the cold start performance of the layer was improved by about 50%, from
~765ms to ~385ms.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
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.

3 participants