diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-09-18 18:43:11 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-09-18 18:43:11 -0300 |
commit | bbf7afd85809f6d43b310290b4bb9102dd36043c (patch) | |
tree | e819812cafa5bc5c92065b003311866e7a231386 /kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala | |
parent | 9382ce9d66b5d6bfef515cee56f40aa178920335 (diff) | |
download | Kamon-bbf7afd85809f6d43b310290b4bb9102dd36043c.tar.gz Kamon-bbf7afd85809f6d43b310290b4bb9102dd36043c.tar.bz2 Kamon-bbf7afd85809f6d43b310290b4bb9102dd36043c.zip |
basic newrelic reporting
Diffstat (limited to 'kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala')
-rw-r--r-- | kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala b/kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala index 6d38f3d7..0b54cedc 100644 --- a/kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala +++ b/kamon-uow/src/main/scala/kamon/logging/UowDirectives.scala @@ -13,7 +13,7 @@ trait UowDirectives extends BasicDirectives { val generatedUow = uowHeader.map(_.value).orElse(Some(UowDirectives.newUow)) println("Generated UOW: "+generatedUow) - Tracer.set(Tracer.newTraceContext().copy(userContext = generatedUow)) + Tracer.set(Tracer.context().getOrElse(Tracer.newTraceContext()).copy(userContext = generatedUow)) request |