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

(4) Move transaction/span related functions from Hub to Scope #2564

Conversation

antonpirker
Copy link
Member

Moved some functionality from Hub to Client:

  • moved start_transaction from Hub to Scope
  • moved start_span from Hub to Scope
  • moved continue_trace from Hub to Scope

This is preparation work for refactoring how we deal with Hubs and Scopes in the future.

Depends on: #2558 (please review the linked one first)

@antonpirker antonpirker changed the base branch from master to antonpirker/refactor-hub-tracing December 4, 2023 15:07
@antonpirker antonpirker changed the title Move transaction/span related functions from Hub to Scope (4) Move transaction/span related functions from Hub to Scope Dec 4, 2023
@antonpirker antonpirker marked this pull request as ready for review December 5, 2023 12:04
Copy link
Member

@sl0thentr0py sl0thentr0py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just some observations

sentry_sdk/scope.py Show resolved Hide resolved
sentry_sdk/scope.py Show resolved Hide resolved
@antonpirker antonpirker merged commit c4ad19a into antonpirker/refactor-hub-tracing Dec 19, 2023
469 checks passed
@antonpirker antonpirker deleted the antonpirker/refactor-hub-transaction-span-continue-trace branch December 19, 2023 08:30
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.

3 participants