aboutsummaryrefslogtreecommitdiff
path: root/kamon-spray
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-11-11 17:07:42 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-11-11 17:07:42 -0300
commit777ad06ea31f8e1508ded4332b7152c0cd182146 (patch)
tree095379f54b5418d491a0128bc25741f3a4bb48e5 /kamon-spray
parent2c8f103b29bb69c27bf5e00b50a7391ae8cc687e (diff)
downloadKamon-777ad06ea31f8e1508ded4332b7152c0cd182146.tar.gz
Kamon-777ad06ea31f8e1508ded4332b7152c0cd182146.tar.bz2
Kamon-777ad06ea31f8e1508ded4332b7152c0cd182146.zip
Missing UOW setting in UowDirectives
Diffstat (limited to 'kamon-spray')
-rw-r--r--kamon-spray/src/main/scala/kamon/spray/UowDirectives.scala3
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
}
}