Skip to content

Instantly share code, notes, and snippets.

@RichardBray
Created March 11, 2025 12:36
Show Gist options
  • Save RichardBray/5d74cbab6e4660d48c6ac4ef6e3cc7aa to your computer and use it in GitHub Desktop.
Save RichardBray/5d74cbab6e4660d48c6ac4ef6e3cc7aa to your computer and use it in GitHub Desktop.
otel-collector-config.yml
apiVersion: v1
kind: ConfigMap
metadata:
name: otel-collector-config
data:
config.yaml: |
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
grpc:
endpoint: 0.0.0.0:4317
processors:
batch:
exporters:
debug:
verbosity: detailed
otlphttp/prometheus:
endpoint: http://prometheus:9090/api/v1/otlp
tls:
insecure: true
otlp:
endpoint: jaeger:14250
tls:
insecure: true
sending_queue:
enabled: true
retry_on_failure:
enabled: true
otlphttp/betterstack:
endpoint: "https://s1230458.eu-nbg-2.betterstackdata.com"
headers:
Authorization: "Bearer dnsapPrgPXJjYKUFEyR1QTJi"
service:
pipelines:
logs:
receivers: [otlp]
processors: [batch]
exporters: [debug]
traces:
receivers: [otlp]
processors: [batch]
exporters: [debug, otlp]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [debug, otlphttp/prometheus]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment