Skip to content

Instantly share code, notes, and snippets.

@bayzi
Last active February 27, 2023 18:25
Show Gist options
  • Save bayzi/0b554f1400abcb977d4278a427c8ad03 to your computer and use it in GitHub Desktop.
Save bayzi/0b554f1400abcb977d4278a427c8ad03 to your computer and use it in GitHub Desktop.
otel config
receivers:
otlp:
protocols:
grpc:
http:
endpoint: "0.0.0.0:4318"
cors:
allowed_origins:
- "http://localhost:5000"
processors:
batch:
exporters:
logging:
otlp:
endpoint: tempo:4317
tls:
insecure: true
prometheus:
endpoint: "0.0.0.0:8889"
extensions:
pprof:
endpoint: :1777
zpages:
endpoint: :55679
health_check:
service:
extensions: [health_check, pprof, zpages]
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp, logging]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheus]
logs:
receivers: [otlp]
processors: [batch]
exporters: [logging, loki]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment