diff options
author | Diego <diegolparra@gmail.com> | 2014-03-15 11:21:44 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-03-15 11:25:02 -0300 |
commit | 321191c73e6a7a3d27931386c481cc032a42c336 (patch) | |
tree | 314ea012dbbc60201a2c80c036300ba1711cf777 /kamon-core/src/main/scala/akka/instrumentation | |
parent | 54f37293b1faac5355c26a298db6b858114bc659 (diff) | |
download | Kamon-321191c73e6a7a3d27931386c481cc032a42c336.tar.gz Kamon-321191c73e6a7a3d27931386c481cc032a42c336.tar.bz2 Kamon-321191c73e6a7a3d27931386c481cc032a42c336.zip |
implementation of IMessageHandler interface in order to control Aspectj weaving messages through kamon
Diffstat (limited to 'kamon-core/src/main/scala/akka/instrumentation')
-rw-r--r-- | kamon-core/src/main/scala/akka/instrumentation/ActorMessagePassingTracing.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/akka/instrumentation/ActorMessagePassingTracing.scala b/kamon-core/src/main/scala/akka/instrumentation/ActorMessagePassingTracing.scala index 3ed2e63e..c79f980c 100644 --- a/kamon-core/src/main/scala/akka/instrumentation/ActorMessagePassingTracing.scala +++ b/kamon-core/src/main/scala/akka/instrumentation/ActorMessagePassingTracing.scala @@ -22,7 +22,6 @@ import akka.dispatch.{ Envelope, MessageDispatcher } import kamon.trace._ import kamon.metrics.{ ActorMetrics, Metrics } import kamon.Kamon -import kamon.trace.TraceContext import kamon.metrics.ActorMetrics.ActorMetricRecorder @Aspect("perthis(actorCellCreation(*, *, *, *, *))") @@ -45,7 +44,7 @@ class BehaviourInvokeTracing { def invokingActorBehaviourAtActorCell(cell: ActorCell, envelope: Envelope) = {} @Around("invokingActorBehaviourAtActorCell(cell, envelope)") - def aroundBehaviourInvoke(pjp: ProceedingJoinPoint, cell: ActorCell, envelope: Envelope): Unit = { + def aroundBehaviourInvoke(pjp: ProceedingJoinPoint, cell: ActorCell, envelope: Envelope): Any = { val timestampBeforeProcessing = System.nanoTime() val contextAndTimestamp = envelope.asInstanceOf[TraceContextAware] |