Skip to content

Commit

Permalink
Reduce JAEGER_SAMPLE_RATIO to 0.1 in deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroyaonoe committed Nov 27, 2024
1 parent f7e4db0 commit 24a899a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 5000
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: ingressgateway
image: "ghcr.io/picop-rd/ingressgateway:latest"
command: ['/bin/ingressgateway', '--port', '5001', '--env-id', 'main', '--destination', 'localhost:5002']
Expand Down
2 changes: 1 addition & 1 deletion hotelReservation/kubernetes/geo/geo-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8083
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '9083', '--admin-port', '9000', '--default-addr', 'localhost:8083', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'geo']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8081
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '8082', '--admin-port', '9000', '--default-addr', 'localhost:8081', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'profile']
Expand Down
2 changes: 1 addition & 1 deletion hotelReservation/kubernetes/rate/rate-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8084
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '8085', '--admin-port', '9000', '--default-addr', 'localhost:8084', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'rate']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8085
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '8086', '--admin-port', '9000', '--default-addr', 'localhost:8085', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'recommendation']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8087
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '8088', '--admin-port', '9000', '--default-addr', 'localhost:8087', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'reservation']
Expand Down
2 changes: 1 addition & 1 deletion hotelReservation/kubernetes/search/search-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8082
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '8083', '--admin-port', '9000', '--default-addr', 'localhost:8082', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'search']
Expand Down
2 changes: 1 addition & 1 deletion hotelReservation/kubernetes/user/user-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- containerPort: 8086
env:
- name: JAEGER_SAMPLE_RATIO
value: "1"
value: "0.1"
- name: proxy
image: "ghcr.io/picop-rd/proxy:latest"
command: ['/bin/proxy', '--proxy-port', '8087', '--admin-port', '9000', '--default-addr', 'localhost:8086', '--propagate=true', '--controller-url', 'http://proxy-controller.picop-system.svc.cluster.local:8080', '--id', 'user']
Expand Down

0 comments on commit 24a899a

Please sign in to comment.