Skip to main content
← All 10 Production Configurators
OBSERVABILITY · OTEL-COLLECTOR.YAML · LIVE MISCONFIGURATION PHYSICS

OpenTelemetry Tail-Sampling & Memory-Limiter Configurator

Generate valid OpenTelemetry Collector YAML pipelines with memory_limiter OOM protection, tail_sampling for 100% errors + slow p99 traces, and OTLP batch export.

Cost-Capped High-Signal Telemetry Pipeline
100% of errors & >400ms p99 traces captured with 1024MiB OOM memory_limiter.
REAL-WORLD KNOBS (3)
Tail sampling retains 100% of 5xx errors and >500ms traces while cutting storage spend 85%+.
400ms
Always retain traces exceeding your p99 SLO budget.
1024MiB
Sheds telemetry backpressure gracefully before OOM-killing the collector.
otel-collector.yaml · PARSER-VERIFIED
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: "0.0.0.0:4317"
      http:
        endpoint: "0.0.0.0:4318"
processors:
  memory_limiter:
    check_interval: 1s
    limit_mib: 1024
    spike_limit_mib: 205
  tail_sampling:
    decision_wait: 10s
    policies:
      - { name: errors, type: status_code, status_code: { status_codes: [ERROR] } }
      - { name: slow-p99, type: latency, latency: { threshold_ms: 400 } }
      - { name: baseline, type: probabilistic, probabilistic: { sampling_percentage: 5 } }
  batch:
    timeout: 2s
    send_batch_size: 2048
exporters:
  otlp:
    endpoint: "tempo.observability.svc:4317"
service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [memory_limiter, tail_sampling, batch]
      exporters: [otlp]
EXPLORE THIS COMPONENT IN ARCHOS STUDIO
Simulate Full Topology in ArchOS ↗60-Sec L4–L7 Diagnostic →
MATCHING PRODUCTION INCIDENT PLAYBOOKS
M11 · P1 · L6OpenTelemetry Collector OOMKills & Prometheus Cardinality ExplosionsRead Incident Playbook →