diff options
Diffstat (limited to 'kamon-scala/src/main/scala/kamon/scalaz/instrumentation/FutureInstrumentation.scala')
-rw-r--r-- | kamon-scala/src/main/scala/kamon/scalaz/instrumentation/FutureInstrumentation.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-scala/src/main/scala/kamon/scalaz/instrumentation/FutureInstrumentation.scala b/kamon-scala/src/main/scala/kamon/scalaz/instrumentation/FutureInstrumentation.scala index b5aadbd3..862d7fdd 100644 --- a/kamon-scala/src/main/scala/kamon/scalaz/instrumentation/FutureInstrumentation.scala +++ b/kamon-scala/src/main/scala/kamon/scalaz/instrumentation/FutureInstrumentation.scala @@ -16,7 +16,7 @@ package kamon.scalaz.instrumentation -import kamon.trace.{ TraceContext, TraceContextAware } +import kamon.trace.{ Tracer, TraceContextAware } import org.aspectj.lang.ProceedingJoinPoint import org.aspectj.lang.annotation._ @@ -40,7 +40,7 @@ class FutureInstrumentation { @Around("futureRelatedCallableExecution(callable)") def aroundExecution(pjp: ProceedingJoinPoint, callable: TraceContextAware): Any = - TraceContext.withContext(callable.traceContext) { + Tracer.withContext(callable.traceContext) { pjp.proceed() } |