Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 46deef4

Browse files
Should use spring.zipkin.enabled with default value set to false
1 parent 87929d3 commit 46deef4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/resources/application.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
server.port=${port:8081}
22
spring.data.mongodb.uri=mongodb://${db:carts-db}:27017/data
33
endpoints.health.enabled=false
4-
#spring.zipkin.baseUrl=http://${zipkin:zipkin}:9411/
4+
spring.zipkin.baseUrl=http://${zipkin_host:zipkin}:9411/
5+
spring.zipkin.enabled=${zipkin_enabled:false}
56
spring.sleuth.sampler.percentage=1.0
67
spring.application.name=carts
78
# Disable actuator metrics endpoints

0 commit comments

Comments
 (0)