receivers:
  # The following demonstrates specifying different endpoints.
  # The Jaeger receiver connects to ports on all available network interfaces.
  # Ex: `endpoint: "9876"` is incorrect.
  # Ex: `endpoint: "1.2.3.4:9876"`  and ":9876" is correct.
  jaeger/customname:
    protocols:
      grpc:
        endpoint: "localhost:9876"
      thrift_http:
        endpoint: ":3456"
      thrift_compact:
        endpoint: "0.0.0.0:456"
        queue_size: 100_000
        max_packet_size: 131_072
        workers: 100
        socket_buffer_size: 65_536
      thrift_binary:
        endpoint: "0.0.0.0:789"
        queue_size: 1_000
        max_packet_size: 65_536
        workers: 5
        socket_buffer_size: 0
    remote_sampling:
      host_endpoint: "0.0.0.0:5778"
      endpoint: "jaeger-collector:1234"
      strategy_file: "/etc/strategies.json"
  # The following demonstrates how to enable protocols with defaults.
  jaeger/defaults:
    protocols:
      grpc:
      thrift_http:
      thrift_compact:
      thrift_binary:
  # The following demonstrates only enabling certain protocols with defaults/overrides.
  jaeger/mixed:
    protocols:
      grpc:
        endpoint: "localhost:9876"
      thrift_compact:
  # The following demonstrates specifying different endpoints.
  # The Jaeger receiver connects to ports on all available network interfaces.
  # Ex: `endpoint: "9876"` is incorrect.
  # Ex: `endpoint: "1.2.3.4:9876"`  and ":9876" is correct.
  jaeger/tls:
    protocols:
      grpc:
        tls_settings:
          cert_file: /test.crt
          key_file: /test.key
        endpoint: "localhost:9876"
      thrift_http:
        endpoint: ":3456"

processors:
  exampleprocessor:

exporters:
  exampleexporter:

service:
  pipelines:
    traces:
     receivers: [jaeger/defaults]
     processors: [exampleprocessor]
     exporters: [exampleexporter]
