From e926eec82e2209745ffcfbab276fb66b0ff86300 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Fri, 15 Jul 2022 16:12:08 +0200 Subject: [PATCH] Making Context-Propagation library a mandatory dependency Without this being mandatory things like ObservationThreadLocalAccessor from Micrometer Core will not be applicable In general without Context Propagation Tracing will not work properly --- dependencies.gradle | 2 ++ micrometer-tracing/build.gradle | 1 + 2 files changed, 3 insertions(+) diff --git a/dependencies.gradle b/dependencies.gradle index bf8f44ff..6eb570fb 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -2,6 +2,8 @@ def VERSIONS = [ 'javax.servlet:javax.servlet-api:4.0.+', 'jakarta.platform:jakarta.jakartaee-web-api:9.1.+', + 'io.micrometer:context-propagation:1.0.0-SNAPSHOT', + 'aopalliance:aopalliance:1.0', // logging 'ch.qos.logback:logback-classic:1.2.+', diff --git a/micrometer-tracing/build.gradle b/micrometer-tracing/build.gradle index 8538f8e5..00b4ffc7 100644 --- a/micrometer-tracing/build.gradle +++ b/micrometer-tracing/build.gradle @@ -4,6 +4,7 @@ plugins { dependencies { api 'io.micrometer:micrometer-observation' + api 'io.micrometer:context-propagation' api 'aopalliance:aopalliance' // log monitoring