Zipkin Implemented

zipkin-sleuth
atancito 2022-10-04 18:45:21 +02:00
parent 965bfadee8
commit 3dc4b60387
8 changed files with 38 additions and 5 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/.metadata/
zipkin-server-2.23.18-exec.jar

View File

@ -54,6 +54,14 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
</dependencies>
<dependencyManagement>

View File

@ -54,6 +54,14 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
</dependencies>
<dependencyManagement>

View File

@ -7,4 +7,7 @@ eureka:
service-url:
default-zone: http://localhost:8761/eureka
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
spring:
application:
zipkin: http://localhost:9411

View File

@ -7,4 +7,7 @@ eureka:
service-url:
default-zone: http://localhost:8761/eureka
instance:
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}}
spring:
application:
zipkin: http://localhost:9411

View File

@ -36,4 +36,7 @@ resilience4j.circuitbreaker:
minimumNumberOfCalls: 4
waitDurationInOpenState: 5s
failureRateThreshold: 50
eventConsumerBufferSize: 10
eventConsumerBufferSize: 10
spring:
application:
zipkin: http://localhost:9411

View File

@ -5,7 +5,7 @@ spring:
config:
server:
git:
defaultLabel: circuit-breaker
defaultLabel: zipkin-sleuth
uri: https://git.gzcode.xyz/atancito/MicroservicesTutorial
searchPaths: config-data
application:

View File

@ -70,7 +70,14 @@
<artifactId>spring-boot-starter-aop</artifactId>
<version>2.7.4</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>