Skip to content

AWS Lambda - sentry-trace not being applied to context #3238

Closed
@kmdev1

Description

@kmdev1

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other: @sentry/serverless

Version:

6.1.0

Description

At present the AWS Lambda wrapHandler function doesn't seem to be capturing the sentry-trace header. This means that the transaction cannot be allocated a parentTraceId.

I'm not 100% sure whether this has ever been/should be the case, but at the moment the issue that I seem to be facing is that our Lambda events do indeed contain a sentry-trace header, but from looking through the code I can't seem to see that this would have ever been captured.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions