LogDrop
Backend TracingPython

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.

LimitValueWhat happens
Spans per request256 (the agent sends at most 128 by default)A larger request is refused with 400
Distinct span start minutes per request32The agent splits a batch by start minute
Span start timeAt most 5 minutes ahead of LogDrop's clock and at most 7 days oldThe agent drops such spans before sending and counts them as rejected. Keep the host clock in sync
Request size128 KiB, compressed and uncompressedThe request is refused. See LOGDROP_MAX_EXPORT_BATCH_SIZE in Agent settings
Attributes24 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 bytesThe whole request is refused with 400
Requests600 per minute per key, 3,000 per minute per project429. The agent retries for a few seconds, then drops the batch
Active spans per process (each gunicorn worker is one)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 count per key and per project, so they decide how many busy processes can share one key and one project.

At the default settings, a Python 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.

On this page