ref(aws-serverless): Vendor aws-sdk instrumentation#20988
Conversation
Closes #20514 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
size-limit report 📦
|
Previously a transitive dependency of @opentelemetry/instrumentation-aws-sdk, now needed directly by the vendored code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
@nicohrubec does this close #19237 ? |
|
@aldenquimby it does not |
JPeer264
left a comment
There was a problem hiding this comment.
LGTM. Those are quite some new files :D
| packageSpecificConfig: { | ||
| // Used for our custom eventContextExtractor | ||
| external: ['@opentelemetry/api'], | ||
| output: { |
There was a problem hiding this comment.
m: Checking-in was this done on purpose?
There was a problem hiding this comment.
it was, build failed without this because the paths changed
| * | ||
| * NOTICE from the Sentry authors: | ||
| * - Vendored from: https://github.com/open-telemetry/opentelemetry-js-contrib/tree/15ef7506553f631ea4181391e0c5725a56f0d082/packages/instrumentation-aws-sdk | ||
| * - Upstream version: @opentelemetry/instrumentation-aws-sdk@0.73.0 |
There was a problem hiding this comment.
m: I just cross-checked the vendored version is different than the vendored one, so we theoretically just also upgraded this instrumentation. Is this wanted? (as it is part as ref in the commit)
There was a problem hiding this comment.
as discussed for these cases it should be fine. I am checking the changelog for each and use the latest if there are no notable changes
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 5a671b6. Configure here.

Vendors
@opentelemetry/instrumentation-aws-sdkinto the SDK with no logic changes.TokenUsageandConverseStreamOutputtypes from@aws-sdk/client-bedrock-runtimeare inlined as simplified interfaces to avoid requiring the package as a dependency.Closes #20942