Skip to content

Commit

Permalink
f me
Browse files Browse the repository at this point in the history
- remove zipkin-service
  • Loading branch information
MichiBaum committed Feb 18, 2024
1 parent 4a6fdba commit 73c71da
Show file tree
Hide file tree
Showing 26 changed files with 43 additions and 907 deletions.
10 changes: 6 additions & 4 deletions admin-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Tracing and Latency reports -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
Expand All @@ -40,10 +46,6 @@
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
Expand Down
1 change: 1 addition & 0 deletions admin-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ management:
span-joining-supported: true
sampling:
probability: 1.0
enabled: true
zipkin:
tracing:
endpoint: http://zipkin:9411/api/v2/spans
10 changes: 6 additions & 4 deletions authentication-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Tracing and Latency reports -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
Expand All @@ -57,10 +63,6 @@
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
1 change: 1 addition & 0 deletions authentication-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ management:
span-joining-supported: true
sampling:
probability: 1.0
enabled: true
zipkin:
tracing:
endpoint: http://zipkin:9411/api/v2/spans
15 changes: 0 additions & 15 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,21 +134,6 @@ services:
networks:
- microservice-network

# zipkin-service:
# image: 70131370/zipkin-service:1.0.0-TEST-8
# env_file:
# - .env
# - .env.override
# restart: always
# depends_on:
# - registry-service
# environment:
# spring_profiles_active: ${SPRING_ACTIVE_PROFILES}
# expose:
# - "80"
# networks:
# - microservice-network

zipkin-db:
image: openzipkin/zipkin-mysql
container_name: zipkin-db
Expand Down
2 changes: 1 addition & 1 deletion docker-up.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
docker compose up --build -d registry-service authentication-db usermanagement-db gateway-service zipkin-db zipkin zipkin-dependencies
docker compose up --build -d
10 changes: 6 additions & 4 deletions gateway-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
<optional>true</optional>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Tracing and Latency reports -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
Expand All @@ -60,10 +66,6 @@
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>

<dependency>
<groupId>com.michibaum</groupId>
Expand Down
1 change: 1 addition & 0 deletions gateway-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ management:
span-joining-supported: true
sampling:
probability: 1.0
enabled: true
zipkin:
tracing:
endpoint: http://zipkin:9411/api/v2/spans
Expand Down
10 changes: 6 additions & 4 deletions javadoc-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Tracing and Latency reports -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
Expand All @@ -36,10 +42,6 @@
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
Expand Down
1 change: 1 addition & 0 deletions javadoc-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ management:
span-joining-supported: true
sampling:
probability: 1.0
enabled: true
zipkin:
tracing:
endpoint: http://zipkin:9411/api/v2/spans
10 changes: 6 additions & 4 deletions registry-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Tracing and Latency reports -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
Expand All @@ -35,10 +41,6 @@
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
Expand Down
1 change: 1 addition & 0 deletions registry-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ management:
span-joining-supported: true
sampling:
probability: 1.0
enabled: true
zipkin:
tracing:
endpoint: http://zipkin:9411/api/v2/spans
10 changes: 6 additions & 4 deletions usermanagement-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
<artifactId>spring-boot-admin-starter-client</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Tracing and Latency reports -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
Expand All @@ -46,10 +52,6 @@
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
1 change: 1 addition & 0 deletions usermanagement-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ management:
span-joining-supported: true
sampling:
probability: 1.0
enabled: true
zipkin:
tracing:
endpoint: http://zipkin:9411/api/v2/spans
118 changes: 0 additions & 118 deletions zipkin-service/.mvn/wrapper/MavenWrapperDownloader.java

This file was deleted.

Binary file removed zipkin-service/.mvn/wrapper/maven-wrapper.jar
Binary file not shown.
2 changes: 0 additions & 2 deletions zipkin-service/.mvn/wrapper/maven-wrapper.properties

This file was deleted.

10 changes: 0 additions & 10 deletions zipkin-service/README.md

This file was deleted.

Loading

0 comments on commit 73c71da

Please sign in to comment.