# This is a configuration file for the OpenTelemetry Collector intended to be
# used in conjunction with the OTLP Exporter integration tests.
#
# For more information about the OpenTelemetry Collector see:
#   https://github.com/open-telemetry/opentelemetry-collector
#
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
      http:
        endpoint: 0.0.0.0:4318
  otlp/tls:
    protocols:
      grpc:
        endpoint: 0.0.0.0:5317
        tls:
          cert_file: /cfg/otel-collector.crt
          key_file: /cfg/otel-collector.key
      http:
        endpoint: 0.0.0.0:5318
        tls:
          cert_file: /cfg/otel-collector.crt
          key_file: /cfg/otel-collector.key

exporters:
  logging:
    verbosity: detailed

service:
  pipelines:
    traces:
      receivers: [otlp, otlp/tls]
      exporters: [logging]
    metrics:
      receivers: [otlp, otlp/tls]
      exporters: [logging]
