# Collector Contrib 0.136.0. Sidecar for the Pod-local SDK example.
# The process accepts telemetry on Pod loopback. Install credentials for
# the shared gateway and supply its DNS endpoint before starting the sidecar.
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 127.0.0.1:4317
processors:
  batch: {}
exporters:
  otlp/gateway:
    endpoint: gateway.example.invalid:4317
    tls:
      ca_file: /etc/otel/tls/gateway-ca.crt
      cert_file: /etc/otel/tls/agent.crt
      key_file: /etc/otel/tls/agent.key
service:
  pipelines:
    traces: {receivers: [otlp], processors: [batch], exporters: [otlp/gateway]}
    metrics: {receivers: [otlp], processors: [batch], exporters: [otlp/gateway]}
    logs: {receivers: [otlp], processors: [batch], exporters: [otlp/gateway]}
