Skip to content

Instantly share code, notes, and snippets.

@jpkrohling
Created January 12, 2024 14:56
Show Gist options
  • Save jpkrohling/c7bf82b7356df42688c5a4bf94bef7f1 to your computer and use it in GitHub Desktop.
Save jpkrohling/c7bf82b7356df42688c5a4bf94bef7f1 to your computer and use it in GitHub Desktop.
Receiver TLS
receivers:
otlp/secure:
protocols:
http:
tls:
ca_file: ca.pem
cert_file: server.pem
key_file: server-key.pem
grpc:
tls:
ca_file: ca.pem
cert_file: server.pem
key_file: server-key.pem
exporters:
otlp:
endpoint: otlp.example.com:4317
service:
pipelines:
traces/secure-exporter:
receivers: [otlp/secure]
exporters: [otlp]
metrics/secure-exporter:
receivers: [otlp/secure]
exporters: [otlp]
logs/secure-exporter:
receivers: [otlp/secure]
exporters: [otlp]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment