Docs · Rate limits & quotas

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#

LimitApplies toSet byResponse when exceeded
Default rateEvery projectBugzor (generous, protects the service)429, reason too_many_requests
Rate per keyOne DSN keyYou, in requests per minute429, reason key_rate_limit
Monthly quotaOne project’s errors, per calendar month (UTC)You, as a number of errors429 for errors only, reason quota_exceeded
Trace storage fullYour workspace’s logs and traces (Rich Trace Logs)Your plan’s storage limitLogs and traces refused with storage_exceeded; errors keep flowing
Profiler storage fullYour workspace’s profilesYour plan’s Profiler storageProfiles refused with storage_exceeded (SDKs pause profiling); errors, logs and traces unaffected
Profile rateOne project’s profilesBugzor (20 per second, bursts of 200, 2 MiB per second)429, reason profile_rate_exceeded
Disabled keyOne DSN keyYou403
  • 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:

  1. Open Settings → Projects & keys and pick the project.
  2. Under Client keys (DSN), open Limits on the key.
  3. Enter Requests / min and/or Errors / month. Leave a field empty for no limit of that kind.
  4. 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
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; error means only errors (that’s what the monthly quota sends).
  • scope: key for Bugzor’s limits.
  • reason: too_many_requests, key_rate_limit, quota_exceeded or storage_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_errors or excluded_exceptions. Dropped events are never sent and never count.
  • Use sample_rate (for example 0.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.