Skip to main content

Why don’t transactions respect the rate limit set in the project settings?

Updated over a month ago

Issue

I’ve set rate limits on my DSN, and while they are respected for errors, transactions do not adhere to these limits.

Resolution

  • Rate Limits and Transactions:

    • Rate limits in the Sentry project settings apply to errors, not transactions.

    • This behavior is by design, as stated in the Sentry documentation on quotas.

  • Workarounds for Transaction Control:

    • Use the transaction sampling options available in the Sentry SDK to limit the number of transactions sent. Refer to the same documentation page for quota and sampling options.

Did this answer your question?