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

Made NoOpSpan compatible to Transactions. #2364

Merged
merged 7 commits into from Sep 12, 2023

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Sep 11, 2023

Added missing methods from the Transaction to the NoOpSpan because start_transaction sometimes returns a Span (and thus sometimes a NoOpSpan)

Fixes #2019

@antonpirker antonpirker marked this pull request as ready for review September 12, 2023 10:22
@antonpirker antonpirker enabled auto-merge (squash) September 12, 2023 10:23
@antonpirker antonpirker merged commit 113b461 into master Sep 12, 2023
251 of 252 checks passed
@antonpirker antonpirker deleted the antonpirker/2019-noopspan-set-measurement branch September 12, 2023 10:33
sentrivana pushed a commit that referenced this pull request Sep 18, 2023
Added missing methods from the Transaction to the NoOpSpan because start_transaction sometimes returns a Span (and thus sometimes a NoOpSpan)
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.

AttributeError: 'NoOpSpan' object has no attribute 'set_measurement'
2 participants