Skip to content

Commit

Permalink
Making Context-Propagation library a mandatory dependency
Browse files Browse the repository at this point in the history
Without this being mandatory things like ObservationThreadLocalAccessor from Micrometer Core will not be applicable

In general without Context Propagation Tracing will not work properly
  • Loading branch information
marcingrzejszczak committed Jul 18, 2022
1 parent 015b073 commit e926eec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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.+',
Expand Down
1 change: 1 addition & 0 deletions micrometer-tracing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {

dependencies {
api 'io.micrometer:micrometer-observation'
api 'io.micrometer:context-propagation'
api 'aopalliance:aopalliance'

// log monitoring
Expand Down

0 comments on commit e926eec

Please sign in to comment.