Skip to content

Commit e204c7a

Browse files
committed
fix: resolve port conflict between otel-collector and Jaeger
Move Jaeger OTLP ports to 4320(gRPC)/4321(HTTP) to avoid conflict with otel-collector on port 4317/4318.
1 parent 03d8512 commit e204c7a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

compose/docker-compose.mon.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ services:
1616
network_mode: host
1717
environment:
1818
- COLLECTOR_OTLP_ENABLED=true
19+
- COLLECTOR_OTLP_GRPC_HOST_PORT=:4320
20+
- COLLECTOR_OTLP_HTTP_HOST_PORT=:4321
1921

2022
prometheus:
2123
image: prom/prometheus:v2.51.2

config/monitoring/otel-collector/otel-collector-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ processors:
2222

2323
exporters:
2424
otlp/jaeger:
25-
endpoint: localhost:4317
25+
endpoint: localhost:4320
2626
tls:
2727
insecure: true
2828
prometheus:

0 commit comments

Comments
 (0)