Skip to content

Commit 7981904

Browse files
committed
Remove redundant aws-serverless aws-sdk wrapper and vendored OTel code
aws-serverless's awsIntegration was a needless re-badge of the channel awsChannelIntegration (no options to forward), and its vendored OTel aws-sdk instrumentation is dead now that the integration is channel-based. Re-export awsChannelIntegration as awsIntegration directly and delete the wrapper plus the orphaned vendored tree.
1 parent e7f5836 commit 7981904

24 files changed

Lines changed: 2 additions & 2561 deletions

packages/aws-serverless/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export {
170170
rewriteFramesIntegration,
171171
} from '@sentry/core';
172172

173-
export { awsIntegration } from './integration/aws';
173+
export { awsChannelIntegration as awsIntegration } from '@sentry/server-utils/orchestrion';
174174
export { awsLambdaIntegration } from './integration/awslambda';
175175

176176
export { getDefaultIntegrations, init } from './init';

packages/aws-serverless/src/init.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import type { Integration, Options } from '@sentry/core';
22
import { applySdkMetadata, debug, envToBool, getSDKSource } from '@sentry/core';
33
import type { NodeClient, NodeOptions } from '@sentry/node';
44
import { getDefaultIntegrationsWithoutPerformance, initWithoutDefaultIntegrations } from '@sentry/node';
5+
import { awsChannelIntegration as awsIntegration } from '@sentry/server-utils/orchestrion';
56
import { DEBUG_BUILD } from './debug-build';
6-
import { awsIntegration } from './integration/aws';
77
import { awsLambdaIntegration } from './integration/awslambda';
88

99
/**

packages/aws-serverless/src/integration/aws/index.ts

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

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)