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

cleanup(metrics): remove snuba tag value meta table references #85193

Merged
merged 5 commits into from
Feb 13, 2025

Conversation

onewland
Copy link
Contributor

@onewland onewland commented Feb 13, 2025

These tag values tables aren't being accessed and we want to stop writing to this table to reduce load on the generic-metrics-distributions cluster in SaaS (see INC-1035)

(not making this change broke integration tests when I tried to merge getsentry/snuba#6878 and that had to be reverted)

@onewland onewland requested a review from a team as a code owner February 13, 2025 19:33
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Feb 13, 2025
@onewland onewland requested a review from a team as a code owner February 13, 2025 19:34
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

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

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rc/sentry/sentry_metrics/querying/metadata/tags.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #85193      +/-   ##
==========================================
- Coverage   87.97%   87.97%   -0.01%     
==========================================
  Files        9627     9623       -4     
  Lines      543534   543620      +86     
  Branches    21039    21039              
==========================================
+ Hits       478195   478270      +75     
- Misses      65033    65044      +11     
  Partials      306      306              

@onewland onewland requested a review from a team as a code owner February 13, 2025 20:07
@onewland onewland marked this pull request as draft February 13, 2025 20:07
@onewland onewland marked this pull request as ready for review February 13, 2025 22:27
@onewland
Copy link
Contributor Author

note for later: we should remove OrganizationMetricsTagDetailsEndpoint and get_tag_values entirely

@onewland onewland merged commit a4a7ddb into master Feb 13, 2025
49 checks passed
@onewland onewland deleted the remove-references-to-tag-values branch February 13, 2025 23:02
onewland added a commit to getsentry/snuba that referenced this pull request Feb 14, 2025
#6883)

This reverts commit 2dea118 and
reinstates #6878 now that Sentry
should no longer have dependencies on this table:
getsentry/sentry#85193
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.

4 participants