Skip to content

Commit

Permalink
configure zipking host and port via env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusmierek committed Oct 11, 2018
1 parent 77ec76b commit 3356129
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion agent-portal-gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tracing:
zipkin:
enabled: true
http:
url: http://localhost:9411
url: "http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}"
sampler:
probability: 1.0 # Configuration taking 100% of the request to be processed by Zipkin. In a real production system, that could be overwhelming.
---
Expand Down
2 changes: 1 addition & 1 deletion documents-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ tracing:
zipkin:
enabled: true
http:
url: http://localhost:9411
url: "http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}"
sampler:
probability: 1.0 # Configuration taking 100% of the request to be processed by Zipkin. In a real production system, that could be overwhelming.
2 changes: 1 addition & 1 deletion payment-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ tracing:
zipkin:
enabled: true
http:
url: http://localhost:9411
url: "http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}"
sampler:
probability: 1.0 # Configuration taking 100% of the request to be processed by Zipkin. In a real production system, that could be overwhelming.
---
Expand Down
2 changes: 1 addition & 1 deletion policy-search-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tracing:
zipkin:
enabled: true
http:
url: http://localhost:9411
url: "http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}"
sampler:
probability: 1.0 # Configuration taking 100% of the request to be processed by Zipkin. In a real production system, that could be overwhelming.
---
Expand Down
2 changes: 1 addition & 1 deletion policy-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ tracing:
zipkin:
enabled: true
http:
url: http://localhost:9411
url: "http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}"
sampler:
probability: 1.0 # Configuration taking 100% of the request to be processed by Zipkin. In a real production system, that could be overwhelming.
2 changes: 1 addition & 1 deletion pricing-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ tracing:
zipkin:
enabled: true
http:
url: http://localhost:9411
url: "http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}"
sampler:
probability: 1.0 # Configuration taking 100% of the request to be processed by Zipkin. In a real production system, that could be overwhelming.
---
Expand Down

0 comments on commit 3356129

Please sign in to comment.