Skip to content

Commit

Permalink
Order instrumentation loading
Browse files Browse the repository at this point in the history
  • Loading branch information
SimunKaracic committed Mar 30, 2021
1 parent 89886f8 commit 7ef1830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ kamon.instrumentation.logback {
kanela.modules {
logback {
# Controls kanela loading order
# a setting of 0 ensures that it's loaded as soon as possible
order = 0
# a setting of 1 ensures that it's loaded as soon as possible
order = 2
name = "Logback Instrumentation"
description = "Provides context propagation to the MDC and on AsyncAppenders"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ kanela.modules {

scala-future {
name = "Scala Future Intrumentation"
order = 1
description = "Provides automatic context propagation to the thread executing a Scala Future's body and callbacks"
instrumentations = [
"kamon.instrumentation.futures.scala.FutureChainingInstrumentation"
Expand All @@ -34,4 +35,4 @@ kanela.modules {
"scala.util.*",
]
}
}
}

0 comments on commit 7ef1830

Please sign in to comment.