diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2015-02-14 10:22:58 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2015-02-14 10:22:58 +0100 |
commit | 7da906da4fda6c6cd7eb6384bff0aef6b4ba094f (patch) | |
tree | c592468abcc6c482e3836987b8e9005957a88bbe /kamon-play/src/main/scala/kamon/play | |
parent | c6bb65535bcc3cc1ff3834a91473ee8dfa6145e8 (diff) | |
download | Kamon-7da906da4fda6c6cd7eb6384bff0aef6b4ba094f.tar.gz Kamon-7da906da4fda6c6cd7eb6384bff0aef6b4ba094f.tar.bz2 Kamon-7da906da4fda6c6cd7eb6384bff0aef6b4ba094f.zip |
= play: ensure that tests use different ports.
Diffstat (limited to 'kamon-play/src/main/scala/kamon/play')
-rw-r--r-- | kamon-play/src/main/scala/kamon/play/instrumentation/RequestInstrumentation.scala | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kamon-play/src/main/scala/kamon/play/instrumentation/RequestInstrumentation.scala b/kamon-play/src/main/scala/kamon/play/instrumentation/RequestInstrumentation.scala index e9b2d570..0ec49493 100644 --- a/kamon-play/src/main/scala/kamon/play/instrumentation/RequestInstrumentation.scala +++ b/kamon-play/src/main/scala/kamon/play/instrumentation/RequestInstrumentation.scala @@ -34,11 +34,6 @@ class RequestInstrumentation { @DeclareMixin("play.api.mvc.RequestHeader+") def mixinContextAwareNewRequest: TraceContextAware = TraceContextAware.default - @After("call(* play.api.GlobalSettings.onStart(*)) && args(application)") - def afterApplicationStart(application: play.api.Application): Unit = { - Kamon(Play) - } - @Before("call(* play.api.GlobalSettings.onRouteRequest(..)) && args(requestHeader)") def beforeRouteRequest(requestHeader: RequestHeader): Unit = { import Kamon.tracer |