Keep the collector up when the backend is not (5)
A backend that is down for ten minutes should not mean ten minutes of lost telemetry, and a traffic spike should not take the collector down with an out-of-memory kill.
These configs cover the settings that decide that: a persistent queue that buffers to disk, the memory limiter and batch processor in the right order, load balancing from agents to a gateway tier, and fan-out to more than one destination. How to run the collector itself in a highly available setup is in our high-availability guide.
The batch processor is deprecated upstream and moves into the exporter's sending_queue. Until you upgrade past it, the order below still matters; our batch processor migration guide shows the replacement config.
Tail a log file
Ship an application log file to your backend, and keep your place in it across collector restarts.
Logs
Get the config →memory_limiter and batch, in the right order
The two processors every pipeline needs, so a traffic spike neither kills the collector nor floods the backend.
Logs
Get the config →Agents to a gateway tier, load-balanced by trace ID
Agents route every span of a trace to the same gateway, so tail sampling on the gateways sees complete traces.
Traces
Get the config →Buffer through a backend outage with a persistent queue
Keep what arrives while the backend is down on disk, and deliver it when the backend is back - even if the collector restarts in between.
Logs · Traces
Get the config →Route logs to different backends by attribute (routing connector)
One collector, several backends: the payments team's logs go to their store, everything else to the central one.
Logs
Get the config →