kubectl -n observability top pod -l app=otel-collectorPrevent OpenTelemetry Collector tail sampling OOMKills without losing incident traces
A practical guide to sizing decision_wait, num_traces, memory_limiter, and exporter queues before the Collector kills your own evidence.
Learn how to control OpenTelemetry Collector tail sampling memory pressure without losing the traces you need during an incident.
Created: July 23, 2026
Published: July 23, 2026
Linux
Flow using kubectl, curl, and promtool to measure memory pressure, tune tail sampling, and promote through a canary.
kubectlcurlpromtooljq
kubectl -n observability port-forward deploy/otel-collector 8888:8888 &
curl -s localhost:8888/metrics | egrep "tail_sampling|memory_limiter|exporter_queue|send_failed"promtool check rules otel-tail-sampling-alerts.yaml && promtool test rules otel-tail-sampling.test.yamlContent locked
This guide requires both steps before full content is available.
- ○Click “Like” on this guide.
- ○Share on WhatsApp, X, LinkedIn, or copy the link.
Access is automatically unlocked as soon as both steps are completed.