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

feat(profiling): Introduce active thread id on scope #1764

Merged
merged 4 commits into from Dec 7, 2022

Commits on Nov 29, 2022

  1. feat(profiling): Introduce active thread id on scope

    Upto this point, simply taking the current thread when the transaction/profile
    was started was good enough. When using ASGI apps with non async handlers, the
    request is received on the main thread. This is also where the transaction or
    profile was started. However, the request is handled on another thread using a
    thread pool. To support this use case, we want to be able to set the active
    thread id on the scope where we can read it when we need it to allow the active
    thread id to be set elsewhere.
    Zylphrex committed Nov 29, 2022
    Copy the full SHA
    5241bc4 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. run black

    Zylphrex committed Dec 1, 2022
    Copy the full SHA
    a66e355 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Copy the full SHA
    0c565f1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    9190317 View commit details
    Browse the repository at this point in the history