diff options
author | Diego <diegolparra@gmail.com> | 2014-12-02 00:58:30 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-12-02 00:58:30 -0300 |
commit | c2d108ca26faecc5be77fd05c69d4eac7982fa3e (patch) | |
tree | 51d239aea06ac10077b5fc3104470062435931f7 /kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala | |
parent | bedda495bbfe3696609294408c4bc50cefbcdd8f (diff) | |
download | Kamon-c2d108ca26faecc5be77fd05c69d4eac7982fa3e.tar.gz Kamon-c2d108ca26faecc5be77fd05c69d4eac7982fa3e.tar.bz2 Kamon-c2d108ca26faecc5be77fd05c69d4eac7982fa3e.zip |
+ core, play: introduce kamon-dispatcher
Diffstat (limited to 'kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala')
-rw-r--r-- | kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala b/kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala index f16c76c8..fca13c4c 100644 --- a/kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala +++ b/kamon-play/src/main/scala/kamon/play/instrumentation/WSInstrumentation.scala @@ -18,7 +18,7 @@ package kamon.play.instrumentation import kamon.Kamon import kamon.play.Play -import kamon.trace.{ SegmentCategory, SegmentMetricIdentity, TraceRecorder } +import kamon.trace.{ SegmentCategory, TraceRecorder } import org.aspectj.lang.ProceedingJoinPoint import org.aspectj.lang.annotation.{ Around, Aspect, Pointcut } import play.api.libs.ws.{ WSRequest, WSResponse } @@ -42,6 +42,6 @@ class WSInstrumentation { response.map(result ⇒ segment.finish())(executor) response - } getOrElse (pjp.proceed()) + } getOrElse pjp.proceed() } }
\ No newline at end of file |