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

[EPIC] Indexed Quota Enforcement #4451

Open
5 tasks
jjbayer opened this issue Jan 16, 2025 · 0 comments
Open
5 tasks

[EPIC] Indexed Quota Enforcement #4451

jjbayer opened this issue Jan 16, 2025 · 0 comments

Comments

@jjbayer
Copy link
Member

jjbayer commented Jan 16, 2025

Implement the quota enforcement as described in https://develop.sentry.dev/ingestion/relay/transaction-span-ratelimits/.

The current rate limiting code has become hard to maintain because of the many different data types and categories and the relationships between them:

  • One envelope item can match multiple data categories
  • Some envelope items have a parent-child relationship which is not reflected in the envelope itself.

Introduce a structured data type to make rate limiting more declarative and less error prone. These types can then be used throughout processing, not just in rate limiting. This draft might be a good starting point, but figuring out the design details is part of the epic.

Tasks

Preview Give feedback
@iambriccardo iambriccardo changed the title [EPIC] Structured Envelopes & Indexed quota enforcement [EPIC] Indexed quota enforcement Jan 20, 2025
@iambriccardo iambriccardo changed the title [EPIC] Indexed quota enforcement [EPIC] Indexed Quota Enforcement Jan 20, 2025
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

No branches or pull requests

1 participant