Skip to content

Commit

Permalink
[FEAT] add zipkin config
Browse files Browse the repository at this point in the history
  • Loading branch information
CokeLee777 committed Jan 5, 2024
1 parent 4ba2af2 commit b87664b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ ext {

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.cloud:spring-cloud-starter-zipkin:2.2.3.RELEASE'
implementation 'org.springframework.cloud:spring-cloud-starter-sleuth'
implementation 'org.springframework.cloud:spring-cloud-starter-bus-amqp'
implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spring:
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
listener:
ack-mode: manual
zipkin:
base-url: http://zipkin-service:9411/
enabled: true
eureka:
client:
register-with-eureka: true
Expand Down

0 comments on commit b87664b

Please sign in to comment.