Skip to content

Comments

Rename get_products to get_products_join#882

Draft
seer-by-sentry[bot] wants to merge 1 commit intomasterfrom
seer/rename-get-products
Draft

Rename get_products to get_products_join#882
seer-by-sentry[bot] wants to merge 1 commit intomasterfrom
seer/rename-get-products

Conversation

@seer-by-sentry
Copy link
Contributor

Fixes FLASK-2. The issue was that: The get_products function fetches products, then iteratively queries reviews for each, causing an N+1 database query problem.

  • Renamed the get_products function call to get_products_join in the /products route handler.
  • Updated the Sentry span and metric keys to reflect the new function name.

This fix was generated by Seer in Sentry, triggered by luke.munro@sentry.io. 👁️ Run ID: 54597

Not quite right? Click here to continue debugging with Seer.

@Prithvirajkumar Prithvirajkumar added the example This is a flagship PR to demo a feature. Please do not close it. label Jun 27, 2025
@sentry-demos sentry-demos deleted a comment from vercel bot Jan 22, 2026
@sentry-demos sentry-demos deleted a comment from codecov bot Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

example This is a flagship PR to demo a feature. Please do not close it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant