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(replays): Add optimized tag search #77595

Merged
merged 8 commits into from
Sep 20, 2024

Conversation

cmanallen
Copy link
Member

@cmanallen cmanallen commented Sep 16, 2024

Tags search is expensive from a bytes and rows scanned perspective. This optimization makes it so that single tag searches can be run quickly and efficiently.

Depends on: getsentry/snuba#6308 and getsentry/snuba#6309
Related: #76289

@cmanallen cmanallen requested a review from a team as a code owner September 16, 2024 21:00
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 16, 2024
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

Attention: Patch coverage is 93.33333% with 4 lines in your changes missing coverage. Please review.

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...c/sentry/replays/usecases/query/conditions/tags.py 87.09% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #77595       +/-   ##
===========================================
- Coverage   88.40%   78.14%   -10.27%     
===========================================
  Files        2998     6972     +3974     
  Lines      186455   309396   +122941     
  Branches    30635    50622    +19987     
===========================================
+ Hits       164837   241779    +76942     
- Misses      15599    61200    +45601     
- Partials     6019     6417      +398     

@cmanallen cmanallen merged commit 3f1ca71 into master Sep 20, 2024
50 checks passed
@cmanallen cmanallen deleted the cmanallen/replays-optimize-tags-query branch September 20, 2024 19:19
@github-actions github-actions bot locked and limited conversation to collaborators Oct 6, 2024
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