Limits
Collector limits how much it takes from each project, so an error in a loop or an attack doesn't drown everything else. Each limit is independent: going over one never slows the others.
Errors
| From | Limit |
|---|---|
| A project's servers | 600 events a minute |
| A project's web pages | 300 events a minute, separately |
| One event | 1 MB after decompression; 250 frames; messages up to 8 KB |
An event over the limit is counted against its issue, but its details aren't kept: the issue's page says so. Collector answers 429 with Retry-After, and the SDKs pause sending for that long. On top of that, the browser SDK sends at most 30 events every 10 seconds per page, and an error that repeats in a loop only once.
Signals
300 heartbeats a minute from a project's servers, and 300 from its pages, separate from the events' limit. A heartbeat is up to 16 KB.
Speed
3,000 page views a minute per project. Those dropped are counted and shown. A batch is up to 64 KB after decompression. Page views are kept for 90 days.
Logs
Every project has three budgets, one per kind of record: log lines, requests and sign-ins. By default, 1,000 records a second each, counted per minute. A flood of one kind never drowns the others: during an attack, requests and sign-ins are the evidence.
Within a batch, each kind is stored whole or not at all: a kind over its budget isn't stored, and the answer says so, so the SDK waits before sending more of that kind. Records the SDK had to drop because its buffer filled up are counted and shown too.
| Limit | |
|---|---|
A /api/logs batch | 1,000 records and 5 MB after decompression |
| An OpenTelemetry request | 10,000 records and 10 MB after decompression, against the log-line budget |
| Age | Records more than 7 days back or more than an hour ahead are rejected |
| A log line | Message up to 8 KB; metadata up to 50 keys and 16 KB |
| How long they're kept | A year |
Source maps
Up to 100 maps per upload, 20 MB per map uncompressed and 100 MB per request.
The API
600 requests a minute per access token. collector login allows 10 starts a minute per IP, and its code expires after 10 minutes. Following logs live sends at most 1,000 records a second per channel.