Skip to content

Commit

Permalink
fix(otel): Update jaeger config (sourcegraph#4347)
Browse files Browse the repository at this point in the history
* fix(otel): Update jaeger config

* fix(jaeger): open 2 ports

* fix(otel): add http port
  • Loading branch information
Chickensoupwithrice authored Jul 9, 2024
1 parent b8bca3e commit f0d3109
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 4 additions & 4 deletions overlays/jaeger/jaeger-collector.Service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ spec:
protocol: TCP
targetPort: 14267
- name: jaeger-collector-http
port: 14268
port: 4321
protocol: TCP
targetPort: 14268
targetPort: 4321
- name: jaeger-collector-grpc
port: 14250
port: 4320
protocol: TCP
targetPort: 14250
targetPort: 4320
selector:
app.kubernetes.io/name: jaeger
app.kubernetes.io/component: all-in-one
Expand Down
6 changes: 5 additions & 1 deletion overlays/jaeger/jaeger.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
containers:
- name: jaeger
image: index.docker.io/sourcegraph/jaeger-all-in-one:insiders@sha256:3b7d972994ba6ae3b58575db3249478e2d9393e8b7f1d5c952523aaf0fdd10cf
args: ["--memory.max-traces=20000"]
args: ["--memory.max-traces=20000", "--sampling.strategies-file=/etc/jaeger/sampling_strategies.json", "--collector.otlp.enabled"]
ports:
- containerPort: 5775
protocol: UDP
Expand All @@ -45,6 +45,10 @@ spec:
protocol: TCP
- containerPort: 14250
protocol: TCP
- containerPort: 4320
protocol: TCP
- containerPort: 4321
protocol: TCP
readinessProbe:
httpGet:
path: "/"
Expand Down
4 changes: 4 additions & 0 deletions overlays/jaeger/otel-collector.Deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ spec:
env:
- name: JAEGER_HOST
value: jaeger-collector
- name: JAEGER_OTLP_GRPC_PORT
value: 4320
- name: JAEGER_OTLP_HTTP_PORT
value: 4321

0 comments on commit f0d3109

Please sign in to comment.