LogDrop
Backend TracingRust

Limits

What LogDrop accepts per trace request, per ingest key and per project.

The crate keeps every request inside LogDrop's limits on its own. You only need these numbers if you change its settings or plan a large fleet.

LimitValueWhat happens
Spans per request256 (the crate sends at most 128 by default)A larger request is refused with 400
Distinct span start minutes per request32The crate splits a batch by start minute
Span start timeAt most 5 minutes ahead of LogDrop's clock and at most 7 days oldThe crate 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 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 crate retries for a few seconds, then drops the batch
Active spans per process1,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 processes can share one key and one project.

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