crusto/infra/otel-collector-config.yaml

40 lines
717 B
YAML
Raw Normal View History

2024-12-09 12:42:28 +00:00
# 1. Receive otlp
# 2. Log logs to stdout
# 3. Send traces to jaeger at jaeger:4317 (using otlp)
# 4. Export metrics to prometheus using port 8889
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
exporters:
debug:
otlp/jaeger:
endpoint: jaeger:4317
tls:
insecure: true
prometheus:
endpoint: 0.0.0.0:8889
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp/jaeger]
metrics:
receivers: [otlp]
processors: [batch]
exporters: [prometheus]
logs:
receivers: [otlp]
processors: [batch]
exporters: [debug]