# Corridora OTLP gateway example for OpenTelemetry Collector Contrib 0.160.0. # Set CORRIDORA_OTLP_ENDPOINT to the OTLP/HTTP base URL, without /v1/traces. # Set CORRIDORA_INGEST_KEY to an active Corridora ingest key. # Localhost is the default. The Docker command in collect/collector.md overrides # the bind host inside the container and publishes ports on host loopback only. receivers: otlp: protocols: grpc: endpoint: "${env:OTEL_COLLECTOR_BIND_HOST:-127.0.0.1}:4317" http: endpoint: "${env:OTEL_COLLECTOR_BIND_HOST:-127.0.0.1}:4318" processors: memory_limiter: check_interval: 1s limit_mib: 400 spike_limit_mib: 80 batch: timeout: 2s send_batch_size: 1024 send_batch_max_size: 2048 exporters: otlp_http/corridora: endpoint: ${env:CORRIDORA_OTLP_ENDPOINT} headers: X-CORRIDORA-KEY: ${env:CORRIDORA_INGEST_KEY} encoding: proto compression: gzip timeout: 30s retry_on_failure: enabled: true initial_interval: 5s max_interval: 30s max_elapsed_time: 300s sending_queue: enabled: true sizer: requests num_consumers: 2 queue_size: 128 extensions: health_check: endpoint: "${env:OTEL_COLLECTOR_BIND_HOST:-127.0.0.1}:13133" service: extensions: [health_check] telemetry: logs: level: info metrics: level: normal readers: - pull: exporter: prometheus: host: ${env:OTEL_COLLECTOR_BIND_HOST:-127.0.0.1} port: 8888 pipelines: traces: receivers: [otlp] processors: [memory_limiter, batch] exporters: [otlp_http/corridora] metrics: receivers: [otlp] processors: [memory_limiter, batch] exporters: [otlp_http/corridora] logs: receivers: [otlp] processors: [memory_limiter, batch] exporters: [otlp_http/corridora]