works eventually, still shaky
This commit is contained in:
45
otel-collector-config.yaml
Normal file
45
otel-collector-config.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
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]
|
||||
Reference in New Issue
Block a user