Skip to content
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

ref: remove Span.isTransaction attribute #736

Merged
merged 6 commits into from
Nov 13, 2023

Conversation

greywolve
Copy link
Contributor

@greywolve greywolve commented Oct 17, 2023

Instead we rely on a new implementation of IsTransaction() that checks if the span's parent is nil.

Fixes #581

@greywolve greywolve requested a review from cleptric October 17, 2023 17:09
tracing_test.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Files Coverage Δ
tracing.go 85.90% <100.00%> (-0.03%) ⬇️

... and 1 file with indirect coverage changes

📢 Thoughts on this report? Let us know!

tracing.go Outdated Show resolved Hide resolved
tracing.go Outdated Show resolved Hide resolved
Instead we rely on a new implementation of IsTransaction() that checks
if the root of the span recorder is equal to the span itself.
@greywolve greywolve force-pushed the remove_is_transaction_attribute branch from 52aa0c0 to 26531df Compare October 30, 2023 17:50
@greywolve
Copy link
Contributor Author

@cleptric fixed up. :)

@cleptric cleptric merged commit 032ecc1 into getsentry:master Nov 13, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Span.isTransaction attribute
2 participants