Skip to content

ref: remove Span.isTransaction attribute#736

Merged
cleptric merged 6 commits intogetsentry:masterfrom
greywolve:remove_is_transaction_attribute
Nov 13, 2023
Merged

ref: remove Span.isTransaction attribute#736
cleptric merged 6 commits intogetsentry:masterfrom
greywolve:remove_is_transaction_attribute

Conversation

@greywolve
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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!

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
Copy Markdown
Contributor Author

@cleptric fixed up. :)

@cleptric cleptric merged commit 032ecc1 into getsentry:master Nov 13, 2023
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.

Remove Span.isTransaction attribute

2 participants