diff --git a/auth-center/src/main/resources/application.yml b/auth-center/src/main/resources/application.yml index b2daebe3..d73d0ece 100644 --- a/auth-center/src/main/resources/application.yml +++ b/auth-center/src/main/resources/application.yml @@ -14,6 +14,9 @@ spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: Asia/Hong_Kong + sleuth: + sampler: + probability: 1.0 servlet: multipart: # `location` specifies the directory where uploaded files will be stored. When not specified, diff --git a/exercise-mis/src/main/resources/application.yml b/exercise-mis/src/main/resources/application.yml index e548b208..922dff18 100644 --- a/exercise-mis/src/main/resources/application.yml +++ b/exercise-mis/src/main/resources/application.yml @@ -16,6 +16,9 @@ spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: Asia/Hong_Kong + sleuth: + sampler: + probability: 1.0 servlet: multipart: # `location` specifies the directory where uploaded files will be stored. When not specified, diff --git a/muscle-mis/src/main/resources/application.yml b/muscle-mis/src/main/resources/application.yml index c3ed4d05..ca19b3d9 100644 --- a/muscle-mis/src/main/resources/application.yml +++ b/muscle-mis/src/main/resources/application.yml @@ -16,6 +16,9 @@ spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: Asia/Hong_Kong + sleuth: + sampler: + probability: 1.0 cloud: consul: discovery: diff --git a/reactive-spring-cloud-starter/pom.xml b/reactive-spring-cloud-starter/pom.xml index bfbfd299..320305cb 100644 --- a/reactive-spring-cloud-starter/pom.xml +++ b/reactive-spring-cloud-starter/pom.xml @@ -64,6 +64,10 @@ org.springframework.cloud spring-cloud-starter-consul-all + + org.springframework.cloud + spring-cloud-starter-sleuth + org.springframework.cloud spring-cloud-sleuth-zipkin diff --git a/spring-boot-admin/src/main/resources/application.yml b/spring-boot-admin/src/main/resources/application.yml index 5b6ebd51..e3b30eb2 100644 --- a/spring-boot-admin/src/main/resources/application.yml +++ b/spring-boot-admin/src/main/resources/application.yml @@ -21,6 +21,9 @@ spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: Asia/Hong_Kong + sleuth: + sampler: + probability: 1.0 cloud: consul: discovery: diff --git a/spring-cloud-starter/pom.xml b/spring-cloud-starter/pom.xml index ff813f85..37a5d27f 100644 --- a/spring-cloud-starter/pom.xml +++ b/spring-cloud-starter/pom.xml @@ -69,6 +69,10 @@ org.springframework.cloud spring-cloud-starter-openfeign + + org.springframework.cloud + spring-cloud-starter-sleuth + org.springframework.cloud spring-cloud-sleuth-zipkin