Limits
What LogDrop accepts per trace request, per ingest key and per project.
The agent keeps every request inside LogDrop's limits on its own. You only need these numbers if you change the agent's settings or plan a large fleet.
| Limit | Value | What happens |
|---|---|---|
| Spans per request | 256 (the agent sends at most 128 by default) | A larger request is refused with 400 |
| Distinct span start minutes per request | 32 | The agent splits a batch by start minute |
| Span start time | At most 5 minutes ahead of LogDrop's clock and at most 7 days old | The agent drops such spans before sending and counts them as rejected. Keep the host clock in sync |
| Request size | 128 KiB, compressed and uncompressed | The request is refused. See LOGDROP_MAX_EXPORT_BATCH_SIZE in Agent settings |
| Attributes | 24 on the resource, 48 per span, 24 per event or link; keys up to 128 bytes, text values up to 2,048 bytes; 16 events and 16 links per span; span names up to 256 bytes | The whole request is refused with 400 |
| Requests | 600 per minute per key, 3,000 per minute per project | 429. The agent retries for a few seconds, then drops the batch |
| Active spans per process | 1,024 (LOGDROP_MAX_ACTIVE_SPANS) | New spans are not recorded until others end. Spans open longer than 15 minutes stop counting |
Sizing a fleet
The request limits apply per key and per project, so they decide how many Node.js processes can share one key or one project. At the default settings, a Node.js process sends a request about once a second while it has traffic, and one request per 128 spans when it records more than 128 spans a second. So one key carries about ten busy processes, or about 1,280 spans a second, and one project about fifty processes, or about 6,400 spans a second.
For larger fleets, use one key per workload, or set LOGDROP_SCHEDULE_DELAY=5s: a process with little traffic then sends about twelve requests a minute, and traces appear a few seconds later.
.png)