getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
38.55k stars 4.12k forks source link

Limit time range of user report endpoint queries #76985

Open aliu39 opened 1 week ago

aliu39 commented 1 week ago

SENTRY-18JF. QueryOutsideRetentionError (handled) group_user_reports.py project_user_reports.py

Serializing user reports leads to a query for their associated events. Sometimes an event is expired past our retention period, causing the endpoints to error out. There's no way for users to specify a time range, so we should automatically filter out reports with expired events.

Helper: outside_retention_with_modified_start

getsantry[bot] commented 1 week ago

Routing to @getsentry/product-owners-user-feedback for triage ⏲️