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): Write thread id to transactions table #6138

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

Zylphrex
Copy link
Member

In addition to the profiler id, sometimes, we need the thread id to be able to link to the right thread within the profile.

In addition to the profiler id, sometimes, we need the thread id to be able to
link to the right thread within the profile.
Copy link
Member

@nikhars nikhars left a comment

Choose a reason for hiding this comment

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

Approving since my comment is non-blocking.

@Zylphrex Zylphrex enabled auto-merge (squash) July 24, 2024 21:52
@Zylphrex Zylphrex merged commit a838cb6 into master Jul 24, 2024
30 checks passed
@Zylphrex Zylphrex deleted the txiao/feat/write-thread-id-to-transactions-table branch July 24, 2024 22:02
Copy link

sentry-io bot commented Jul 24, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ TypeError: argument of type 'NoneType' is not iterable snuba.datasets.processors.transactions_processo... View Issue

Did you find this useful? React with a 👍 or 👎

@getsentry-bot
Copy link
Contributor

PR reverted: b604242

getsentry-bot added a commit that referenced this pull request Jul 25, 2024
This reverts commit a838cb6.

Co-authored-by: Zylphrex <10239353+Zylphrex@users.noreply.github.com>
Zylphrex added a commit that referenced this pull request Jul 25, 2024
* feat(profiling): Write thread id to transactions table

In addition to the profiler id, sometimes, we need the thread id to be able to
link to the right thread within the profile.

* add comment
Zylphrex added a commit that referenced this pull request Jul 25, 2024
* feat(profiling): Write thread id to transactions table (#6138)

* feat(profiling): Write thread id to transactions table

In addition to the profiler id, sometimes, we need the thread id to be able to
link to the right thread within the profile.

* add comment

* handle when data is none
Zylphrex added a commit to getsentry/sentry that referenced this pull request Jul 25, 2024
To generate a more accurate flamegraph, we want samples from the active
thread.

Depends on getsentry/snuba#6138
Christinarlong pushed a commit to getsentry/sentry that referenced this pull request Jul 26, 2024
To generate a more accurate flamegraph, we want samples from the active
thread.

Depends on getsentry/snuba#6138
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants