Skip to content

Streamline AwsLambdaInstrumentation #21746

Description

@nicohrubec

Streamline the forked AwsLambdaInstrumentation (packages/aws-serverless/src/integration/instrumentation-aws-lambda/) to the SDK's needs in four steps:

  1. Improve test coverage for the parts of the instrumentation the SDK uses.
  2. Clean out unused parts, relying on the tests from step 1 to catch regressions.
  3. Remove the /* eslint-disable */ and make the files pass the linter if possible without breakage.
  4. 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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions