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

fix(issues): Remove duplicate span in sdk_crash_monitoring #82910

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

mrduncan
Copy link
Member

@mrduncan mrduncan commented Jan 3, 2025

This op is already being auto-instrumented in run_post_process_job, the duplicate span here with the same name is not helpful when looking at aggregates.

This renames the op and adds another around config building - in the future I suspect we can get a very easy win by not rebuilding config for every single event - this will give us some data to back up that theory.

Aggregate showing the 2x duplicate (update_existing_attachments is fixed in a separate PR): https://sentry.sentry.io/traces/?groupBy=span.op&mode=aggregate&project=1&query=span.op%3Atasks.post_process_group.%2A&statsPeriod=24h&visualize=%7B%22chartType%22%3A1%2C%22yAxes%22%3A%5B%22count%28span.duration%29%22%5D%7D

See also: #82911

This op is already being auto-instrumented in run_post_process_job, the
duplicate span here with the same name is not helpful when looking at
aggregates.

This renames the op and adds another around config building - in the
future I suspect we can get a very easy win by not rebuilding config for
every single event - this will give us some data to back up that theory.
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 3, 2025
@mrduncan mrduncan changed the title fix(issues): Fix SDK crash detection span op fix(issues): Remove duplicate span in sdk_crash_monitoring Jan 3, 2025
@mrduncan mrduncan marked this pull request as ready for review January 4, 2025 00:08
@mrduncan mrduncan requested a review from a team as a code owner January 4, 2025 00:08
mrduncan added a commit that referenced this pull request Jan 6, 2025
…2911)

This is already auto-instrumented in run_post_process_job with the exact
same span op.

See also: #82910
@mrduncan mrduncan merged commit 8a8aa5d into master Jan 6, 2025
53 checks passed
@mrduncan mrduncan deleted the mrduncan/fix-duplicate-span branch January 6, 2025 17:13
Copy link

sentry-io bot commented Jan 6, 2025

Suspect Issues

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

  • ‼️ KeyError: 'stacktrace' sentry.tasks.post_process.post_process_group View Issue

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants