# Collector Contrib 0.136.0. One ingress router with same-host senders.
# Each router must discover the same distinct sampler instance endpoints.
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 127.0.0.1:4317
exporters:
  loadbalancing:
    routing_key: traceID
    resolver:
      static:
        hostnames:
          - sampler-a.example.invalid:4317
          - sampler-b.example.invalid:4317
    protocol:
      otlp:
        timeout: 5s
        tls:
          ca_file: /etc/otel/tls/sampler-ca.crt
          cert_file: /etc/otel/tls/router.crt
          key_file: /etc/otel/tls/router.key
service:
  pipelines:
    traces:
      receivers: [otlp]
      exporters: [loadbalancing]
