46 lines
780 B
YAML
46 lines
780 B
YAML
receivers:
|
|
otlp:
|
|
protocols:
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
|
|
processors:
|
|
batch:
|
|
timeout: 1s
|
|
send_batch_size: 1024
|
|
|
|
exporters:
|
|
# Log to console for debugging
|
|
logging:
|
|
loglevel: info
|
|
|
|
# Export to Prometheus
|
|
prometheus:
|
|
endpoint: 0.0.0.0:8889
|
|
namespace: websocket_game
|
|
|
|
# Uncomment to export to Jaeger for traces
|
|
# jaeger:
|
|
# endpoint: jaeger:14250
|
|
# tls:
|
|
# insecure: true
|
|
|
|
service:
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [logging]
|
|
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [logging, prometheus]
|
|
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [logging]
|