Skip to content

Event processor migration: NextJS edge event processors #20368

Description

@Lms24

packages/nextjs/src/edge/index.ts

  • client?.on('spanStart', span => - dropMiddlewareTunnelRequests sets an attribute to drop later. We need to check of there's some way for us to port this to ignoreSpans. If not, we can no longer filter out these spans.
    • Rest of these attribute mutations and additions should be easy to port
  • client?.on('preprocessEvent', event => { should be portable to processSpan
  • NextLowQualityTransactionsFilter: filters on an attribute that's set post span creation. likely not portable but maybe we can think of something?
  • getGlobalScope().setTag('turbopack', true); probably should be set as an attribute on segment spans. (e.g. Integration::processSegmentSpan)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions