Skip to content

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

@lforst

Description

@lforst

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions