Observability · Telemetry Pipelines
Backpressure and Buffering
Cheat sheet · https://pcornel.dk/topic.php?topic=6228
Answer
Backpressure is how a pipeline reacts when downstream is slower: buffers/queues absorb bursts (memory or disk), then the pipeline slows senders or drops data.
Remember
Size queues for expected outage duration. Persistent (disk) queues survive restarts. Decide which data may be dropped first.
First checks
otelcol_exporter_queue_size— first check for this topiccurl -s localhost:9090/-/ready— Prometheus readycurl -s 'localhost:9090/api/v1/query?query=up'— scrape targets up/downpromtool check config prometheus.yml— config valid
Verify in this order
burst/outage → queue fills → backpressure → retry or drop
Where it usually breaks
Unbounded memory queues crash the collector.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6228