Skip to content

Commit 39e8120

Browse files
andreiborzaclaude
andcommitted
ref(aws-serverless): Remove dead vendored aws-sdk OTel instrumentation
The vendored OpenTelemetry `AwsInstrumentation` and its service extensions are dead code: aws-sdk spans come from the channel-based `awsIntegration()` in `@sentry/server-utils`, and nothing instantiated the vendored class. Remove the whole tree and the now-unused `@opentelemetry/instrumentation` and `@opentelemetry/api` dependencies. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f6e91d8 commit 39e8120

23 files changed

Lines changed: 0 additions & 2550 deletions

packages/aws-serverless/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
"access": "public"
6363
},
6464
"dependencies": {
65-
"@opentelemetry/api": "^1.9.1",
66-
"@opentelemetry/instrumentation": "^0.220.0",
6765
"@sentry/conventions": "^0.16.0",
6866
"@sentry/core": "10.67.0",
6967
"@sentry/node": "10.67.0",

packages/aws-serverless/rollup.npm.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ export default [
3535
// packages with bundles have a different build directory structure
3636
hasBundles: true,
3737
packageSpecificConfig: {
38-
// Used for our custom eventContextExtractor
39-
external: ['@opentelemetry/api'],
4038
output: {
4139
preserveModulesRoot: 'src',
4240
},

packages/aws-serverless/src/integration/aws/vendored/aws-sdk.ts

Lines changed: 0 additions & 344 deletions
This file was deleted.

0 commit comments

Comments
 (0)