diff options
Diffstat (limited to 'kamon-spray/src')
-rw-r--r-- | kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala b/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala index 6f913a67..685388df 100644 --- a/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala +++ b/kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala @@ -13,8 +13,7 @@ trait UowDirectives extends BasicDirectives { val generatedUow = uowHeader.map(_.value).getOrElse(UowDirectives.newUow) // TODO: Tracer will always have a context at this point, just rename the uow. - //Tracer.set(Tracer.context().getOrElse(Tracer.newTraceContext()).copy(uow = generatedUow)) - + Trace.set(Trace.context().getOrElse(Trace.newTraceContext()).copy(uow = generatedUow)) request } } |