From 07553f41f5f32f945e7f3bf3c991e955fd5ee6bf Mon Sep 17 00:00:00 2001 From: Marian-Constantin Marica <91406991+MarianConstantinMarica@users.noreply.github.com> Date: Mon, 3 Jul 2023 21:19:08 +0300 Subject: [PATCH] Repair Zipkin Micrometer Tracing (#225) * Repair Zipkin Micrometer Tracing * Moving management tracing sampling probability to server-config --- spring-petclinic-api-gateway/pom.xml | 12 ++++++++++++ spring-petclinic-customers-service/pom.xml | 12 ++++++++++++ spring-petclinic-vets-service/pom.xml | 12 ++++++++++++ spring-petclinic-visits-service/pom.xml | 12 ++++++++++++ 4 files changed, 48 insertions(+) diff --git a/spring-petclinic-api-gateway/pom.xml b/spring-petclinic-api-gateway/pom.xml index ddba4219f..9d9e8f84a 100644 --- a/spring-petclinic-api-gateway/pom.xml +++ b/spring-petclinic-api-gateway/pom.xml @@ -86,6 +86,18 @@ io.opentelemetry opentelemetry-exporter-zipkin + + io.micrometer + micrometer-observation + + + io.micrometer + micrometer-tracing-bridge-brave + + + io.zipkin.reporter2 + zipkin-reporter-brave + diff --git a/spring-petclinic-customers-service/pom.xml b/spring-petclinic-customers-service/pom.xml index 2628a06fd..1c687e57f 100644 --- a/spring-petclinic-customers-service/pom.xml +++ b/spring-petclinic-customers-service/pom.xml @@ -82,6 +82,18 @@ io.opentelemetry opentelemetry-exporter-zipkin + + io.micrometer + micrometer-observation + + + io.micrometer + micrometer-tracing-bridge-brave + + + io.zipkin.reporter2 + zipkin-reporter-brave + diff --git a/spring-petclinic-vets-service/pom.xml b/spring-petclinic-vets-service/pom.xml index 1b9419b54..36f20a189 100644 --- a/spring-petclinic-vets-service/pom.xml +++ b/spring-petclinic-vets-service/pom.xml @@ -102,6 +102,18 @@ io.opentelemetry opentelemetry-exporter-zipkin + + io.micrometer + micrometer-observation + + + io.micrometer + micrometer-tracing-bridge-brave + + + io.zipkin.reporter2 + zipkin-reporter-brave + diff --git a/spring-petclinic-visits-service/pom.xml b/spring-petclinic-visits-service/pom.xml index 9c0149bdd..101132f28 100644 --- a/spring-petclinic-visits-service/pom.xml +++ b/spring-petclinic-visits-service/pom.xml @@ -81,6 +81,18 @@ io.opentelemetry opentelemetry-exporter-zipkin + + io.micrometer + micrometer-observation + + + io.micrometer + micrometer-tracing-bridge-brave + + + io.zipkin.reporter2 + zipkin-reporter-brave +