-
Notifications
You must be signed in to change notification settings - Fork 517
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
Fix ray tests in POTel #3877
Fix ray tests in POTel #3877
Conversation
❌ 257 Tests Failed:
View the top 3 failed tests by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, see one small comment
sentry_sdk.get_current_scope().set_transaction_name( | ||
root_span_name, | ||
source=TRANSACTION_SOURCE_TASK, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work before we even started the transaction? Maybe logically it'd better fit inside the root_span
context manager?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because this sets the transaction name only on the scope, this should be fine.
The other question this brought up inside me is why the ray integration does no isolation scope forking anywhere...
I will test this tomorrow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, this works and is correct.
Make sure to set the transaction name.