Skip to content

Commit

Permalink
Merge pull request #59 from Azure/gk/fix-deps
Browse files Browse the repository at this point in the history
migrate from sleuth to micrometer
  • Loading branch information
thegovind authored Jun 21, 2024
2 parents 1867623 + ba563f3 commit 8574b60
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 20 deletions.
11 changes: 8 additions & 3 deletions accounting-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,14 @@
<version>${spring-cloud-azure.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<version>3.1.11</version>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
11 changes: 8 additions & 3 deletions loyalty-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,14 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<version>3.1.11</version>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
Expand Down
11 changes: 8 additions & 3 deletions makeline-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,14 @@
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<version>3.1.11</version>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.springframework.kafka</groupId>
Expand Down
11 changes: 8 additions & 3 deletions receipt-generation-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,14 @@
<version>${spring-cloud-azure.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<version>3.1.11</version>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ data:
CONTAINER: ${BLOB_CONTAINER:reddogasa}
FILE_NAME: ${BLOB_FILE_NAME:receipts.txt}
management:
tracing:
enabled: false
endpoints:
web:
exposure:
Expand All @@ -58,6 +60,8 @@ springdoc:
enabled: true
---
spring:
profiles: dev
config:
activate:
on-profile: dev
application:
name: receipt-generation-service
name: receipt-generation-service
11 changes: 8 additions & 3 deletions virtual-customers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,14 @@
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<version>3.1.11</version>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
11 changes: 8 additions & 3 deletions virtual-worker/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,14 @@
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
<version>3.1.11</version>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
<version>1.3.1</version>
</dependency>
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
<version>1.39.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit 8574b60

Please sign in to comment.