Streamline the forked AwsLambdaInstrumentation (packages/aws-serverless/src/integration/instrumentation-aws-lambda/) to the SDK's needs in four steps:
- Improve test coverage for the parts of the instrumentation the SDK uses.
- Clean out unused parts, relying on the tests from step 1 to catch regressions.
- Remove the
/* eslint-disable */ and make the files pass the linter if possible without breakage.
- Replace otel tracer API calls with Sentry API calls, folding the
requestHook (origin/op) and responseHook (captureException) wired in from awslambda.ts into the instrumentation.
Streamline the forked
AwsLambdaInstrumentation(packages/aws-serverless/src/integration/instrumentation-aws-lambda/) to the SDK's needs in four steps:/* eslint-disable */and make the files pass the linter if possible without breakage.requestHook(origin/op) andresponseHook(captureException) wired in fromawslambda.tsinto the instrumentation.