Skip to content

Commit 7ef1830

Browse files
committed
Order instrumentation loading
1 parent 89886f8 commit 7ef1830

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

instrumentation/kamon-logback/src/main/resources/reference.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ kamon.instrumentation.logback {
3636
kanela.modules {
3737
logback {
3838
# Controls kanela loading order
39-
# a setting of 0 ensures that it's loaded as soon as possible
40-
order = 0
39+
# a setting of 1 ensures that it's loaded as soon as possible
40+
order = 2
4141
name = "Logback Instrumentation"
4242
description = "Provides context propagation to the MDC and on AsyncAppenders"
4343

instrumentation/kamon-scala-future/src/main/resources/reference.conf

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ kanela.modules {
2424

2525
scala-future {
2626
name = "Scala Future Intrumentation"
27+
order = 1
2728
description = "Provides automatic context propagation to the thread executing a Scala Future's body and callbacks"
2829
instrumentations = [
2930
"kamon.instrumentation.futures.scala.FutureChainingInstrumentation"
@@ -34,4 +35,4 @@ kanela.modules {
3435
"scala.util.*",
3536
]
3637
}
37-
}
38+
}

0 commit comments

Comments
 (0)