Limits
Rate limits & quotas
Bugzor never bills you for overages. Instead, you decide how much each DSN key may send, and when a limit
is reached Bugzor answers with HTTP 429. The SDKs understand that response: they stop sending the
limited data for the time Bugzor asks, then carry on. Your app is never slowed down or broken by it.
The limits#
| Limit | Applies to | Set by | Response when exceeded |
|---|---|---|---|
| Default rate | Every project | Bugzor (generous, protects the service) | 429, reason too_many_requests |
| Rate per key | One DSN key | You, in requests per minute | 429, reason key_rate_limit |
| Monthly quota | One project’s errors, per calendar month (UTC) | You, as a number of errors | 429 for errors only, reason quota_exceeded |
| Trace storage full | Your workspace’s logs and traces (Rich Trace Logs) | Your plan’s storage limit | Logs and traces refused with storage_exceeded; errors keep flowing |
| Profiler storage full | Your workspace’s profiles | Your plan’s Profiler storage | Profiles refused with storage_exceeded (SDKs pause profiling); errors, logs and traces unaffected |
| Profile rate | One project’s profiles | Bugzor (20 per second, bursts of 200, 2 MiB per second) | 429, reason profile_rate_exceeded |
| Disabled key | One DSN key | You | 403 |
- The rate per key counts requests (one envelope = one request, usually one event). It allows short bursts up to one minute’s worth, then refills steadily.
- The monthly quota counts the project’s accepted errors since the first of the month. Once it’s used up, errors are refused until the month ends. Other data (transactions, logs, sessions) still flows.
- A disabled key refuses everything. Use it to cut off a leaked key or an old app version at once.
Set limits on a key#
Owners and admins can change limits:
- Open Settings → Projects & keys and pick the project.
- Under Client keys (DSN), open Limits on the key.
- Enter Requests / min and/or Errors / month. Leave a field empty for no limit of that kind.
- Choose Save limits. Ingest picks up the change within a minute.
Need different limits for different parts of an app, say your web frontend and your backend? Add a second key to the project (Add key) and give each its own limits.
What the SDK sees#
A limited request gets a response like this:
HTTP/1.1 429 Too Many Requests
Retry-After: 37
X-Sentry-Rate-Limits: 37::key:key_rate_limit
Content-Type: application/json
{"detail":"key_rate_limit"}X-Sentry-Rate-Limits uses Sentry’s format: retry_after:categories:scope:reason.
retry_after: seconds to wait.categories: the data types that are limited, separated by;. Empty means everything;errormeans only errors (that’s what the monthly quota sends).scope:keyfor Bugzor’s limits.reason:too_many_requests,key_rate_limit,quota_exceededorstorage_exceeded.
The SDKs read this header, drop what they would have sent for that category until the time is up, and record the drops in a client report. They don’t retry the refused events, so a limit never builds up a backlog.
Is anything lost?#
Yes: events refused with a 429 are not stored. That’s the point of a limit, and it’s why we recommend limits
that are well above your normal traffic. They exist to absorb spikes such as an error in a hot loop, or a deploy
that breaks every page view.
Your project page shows Usage · last 30 days by category and outcome, so you can see how much was
accepted and how much was rate_limited.
Reduce volume without losing signal#
- Drop known noise in the SDK with
before_send,ignore_errorsorexcluded_exceptions. Dropped events are never sent and never count. - Use
sample_rate(for example0.25) on very high-traffic apps to send a fraction of errors. Bugzor still groups them correctly. - Fix the noisiest issue first. One issue often makes up most of the volume.
Something unclear or out of date? Tell us.