diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-05-20 15:15:59 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-05-20 15:15:59 -0300 |
commit | fa11dbb9448e002de4863fd67924946b7157913d (patch) | |
tree | 69af5d929d801015b8f611a7f4bc6efd095b23ec /src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala | |
parent | 99320ad0ad3d8b2bb3ee4e6813315a6d898970ec (diff) | |
download | Kamon-fa11dbb9448e002de4863fd67924946b7157913d.tar.gz Kamon-fa11dbb9448e002de4863fd67924946b7157913d.tar.bz2 Kamon-fa11dbb9448e002de4863fd67924946b7157913d.zip |
simple instrumentation for keeping a trace context within Futures callbacks
Diffstat (limited to 'src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala')
-rw-r--r-- | src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala b/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala index b3b3f65b..9e816d11 100644 --- a/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala +++ b/src/main/scala/akka/instrumentation/ActorRefTellInstrumentation.scala @@ -2,7 +2,7 @@ package akka.instrumentation import org.aspectj.lang.annotation.{Around, Pointcut, Aspect} import org.aspectj.lang.ProceedingJoinPoint -import akka.actor.{ActorRef, ActorCell} +import akka.actor.{ActorRef} import kamon.TraceContext import kamon.actor.TraceableMessage import akka.dispatch.Envelope @@ -28,6 +28,7 @@ class ActorRefTellInstrumentation { } } + @Aspect class ActorCellInvokeInstrumentation { |