Skip to content

Conversation

brendanhsentry
Copy link
Member

@brendanhsentry brendanhsentry commented Jul 31, 2025

Adding downsampled_event_retention to project configs as part of the retention changes project

See getsentry/sentry#96818 and https://github.com/getsentry/getsentry/pull/18058 for how it'll be set.

This PR is the first change needed to resolve https://linear.app/getsentry/issue/EAP-160/modify-the-org-setting-to-reflect-the-retention-change-based-on-the.

Copy link
Member

@Dav1dde Dav1dde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to actually make use of the new retention, or is this planned to be in a follow-up/something you want us (ingest) to work on?

Also please add a changelog message to CHANGELOG.md and py/CHANGELOG.md.

@brendanhsentry brendanhsentry force-pushed the brendan/downsampled-event-retention branch from 027b6b6 to 1d9db0f Compare August 6, 2025 15:10
@brendanhsentry brendanhsentry changed the title feat(eap): add downsampled_event_retention to project configs feat(billing): Add downsampled_event_retention to project configs Aug 6, 2025
@brendanhsentry
Copy link
Member Author

Do you want to actually make use of the new retention, or is this planned to be in a follow-up/something you want us (ingest) to work on?

@phacops will make use of this. I'm just helping him set the values for various billing plans @Dav1dde

@phacops
Copy link
Contributor

phacops commented Aug 6, 2025

Do you want to actually make use of the new retention, or is this planned to be in a follow-up/something you want us (ingest) to work on?

@phacops will make use of this. I'm just helping him set the values for various billing plans @Dav1dde

Indeed I will. We could upgrade sentry-protos now and make sure every TraceItem received the downsampled event retention though.

@brendanhsentry what value will downsampled event retention have right now?

@brendanhsentry
Copy link
Member Author

Do you want to actually make use of the new retention, or is this planned to be in a follow-up/something you want us (ingest) to work on?

@phacops will make use of this. I'm just helping him set the values for various billing plans @Dav1dde

Indeed I will. We could upgrade sentry-protos now and make sure every TraceItem received the downsampled event retention though.

@brendanhsentry what value will downsampled event retention have right now?

I believe it should be None until getsentry/sentry#96818 and https://github.com/getsentry/getsentry/pull/18058 are merged. I've temporarily defaulted them to 0 in those PRs as I'm not sure which phase of the rollout we're in. @phacops

@phacops
Copy link
Contributor

phacops commented Aug 7, 2025

I've temporarily defaulted them to 0 in those PRs as I'm not sure which phase of the rollout we're in.

This is OK as a default, we give it the normal retention in the consumer in that case.

@brendanhsentry brendanhsentry added this pull request to the merge queue Aug 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 7, 2025
@brendanhsentry brendanhsentry added this pull request to the merge queue Aug 7, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 7, 2025
@phacops phacops enabled auto-merge August 8, 2025 14:17
@phacops phacops added this pull request to the merge queue Aug 8, 2025
Merged via the queue into master with commit fd29acd Aug 8, 2025
29 checks passed
@phacops phacops deleted the brendan/downsampled-event-retention branch August 8, 2025 14:47
Copy link

linear bot commented Aug 8, 2025

brendanhsentry added a commit to getsentry/sentry that referenced this pull request Aug 11, 2025
adds `downsampled_event_retention` see
getsentry/relay#5013

---------

Co-authored-by: Joshua Li <[email protected]>
andrewshie-sentry pushed a commit to getsentry/sentry that referenced this pull request Aug 12, 2025
adds `downsampled_event_retention` see
getsentry/relay#5013

---------

Co-authored-by: Joshua Li <[email protected]>
priscilawebdev pushed a commit to getsentry/sentry that referenced this pull request Aug 25, 2025
adds `downsampled_event_retention` see
getsentry/relay#5013

---------

Co-authored-by: Joshua Li <[email protected]>
constantinius pushed a commit to getsentry/sentry that referenced this pull request Sep 1, 2025
adds `downsampled_event_retention` see
getsentry/relay#5013

---------

Co-authored-by: Joshua Li <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants