Skip to content

[v9] Disallow returning null from beforeSendSpan and also pass root spans #14336

Open

Description

Description

In #14335 deprecated null to be returned from beforeSendSpan.

We should adjust the behaviour to either

  • Noop and warn when null is returned
  • Throw when null is returned

In either case the type needs to be updated.

Additionally, root spans also need to be passed to beforeSendSpan <-- This will require a migration/changelog entry.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions