Skip to content

Event processor migration: NextJS edge event processors #20368

@Lms24

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions