Skip to content

feat: Allow passing null to withActiveSpan #10717

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Feb 19, 2024

Passing null to withActiveSpan will allow people to start isolated spans without attaching them to any existing ones that may float around in the scope.

This is a sort of replacement to startTransaction where it was desired to start a new transaction even though one is already active on the scope.

@lforst lforst merged commit c970772 into develop Feb 19, 2024
@lforst lforst deleted the lforst-with-active-span-null branch February 19, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants