Skip to content

feat(trace-item-details): Add a required trace_id argument for performance - #87905

Merged
colin-sentry merged 2 commits into
masterfrom
trace_id_backend
Mar 25, 2025
Merged

colin-sentry merged 2 commits into
masterfrom
trace_id_backend

Conversation

@colin-sentry

Copy link
Copy Markdown
Contributor

There is an index in snuba on trace_id which makes this endpoint much faster.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 25, 2025
@colin-sentry
colin-sentry requested a review from k-fish March 25, 2025 18:50
@codecov

codecov Bot commented Mar 25, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...sentry/api/endpoints/project_trace_item_details.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #87905      +/-   ##
==========================================
- Coverage   87.75%   87.75%   -0.01%     
==========================================
  Files        9911     9911              
  Lines      562785   562834      +49     
  Branches    22137    22137              
==========================================
+ Hits       493888   493902      +14     
- Misses      68466    68501      +35     
  Partials      431      431              

@colin-sentry
colin-sentry requested a review from a team March 25, 2025 19:15
@colin-sentry
colin-sentry enabled auto-merge (squash) March 25, 2025 19:30
@colin-sentry
colin-sentry merged commit 0dd4927 into master Mar 25, 2025
@colin-sentry
colin-sentry deleted the trace_id_backend branch March 25, 2025 19:46
andrewshie-sentry pushed a commit that referenced this pull request Mar 27, 2025
…mance (#87905)

There is an index in snuba on trace_id which makes this endpoint much
faster.
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 10, 2025

This branch was successfully deployed

1 active deployment
Preview — 195a89f0 Deployed Mar 25, 2025 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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