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(server): Emit flags for rate limited attachments #640

Merged
merged 4 commits into from
Jun 26, 2020

Conversation

jan-auer
Copy link
Member

By default, rate limited attachments are immediately removed from Envelopes. For processing, native crash reports still need to be retained. These attachments are marked with the "rate_limited" header, which signals to the processing pipeline that the attachment should not be persisted after processing.

Since this requires changes in Sentry first, this flag is only added when a hidden config variable is set. The config will be removed in a future release of Sentry.

@jan-auer jan-auer requested a review from a team June 26, 2020 11:18
@jan-auer jan-auer self-assigned this Jun 26, 2020
@jan-auer jan-auer merged commit 743f287 into master Jun 26, 2020
@jan-auer jan-auer deleted the feat/attachment-rate-limit-flag branch June 26, 2020 12:39
jan-auer added a commit that referenced this pull request Jul 2, 2020
* master:
  fix(server): Do not 429 for event-only attachments (#647)
  doc(config): Remove references to advanced data scrubbing (#648)
  fix(server): Never respond with 429 for minidumps (#646)
  docs(config): Update relay end user documentation (#641)
  license: Update BSL change date
  fix: Add missing .NET 4.8 patches (#642)
  feat(server): Emit attachment sizes to Kafka (#644)
  fix(store): Use clock drift normalizer to correct all timestamp issues  (#634)
  feat(server): Emit flags for rate limited attachments (#640)
  feat(server): Enforce attachment size in rate limits (#639)
  feat(server): Apply quotas per item (#636)
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.

2 participants