From 315d97c1d047db359c7b436c87a6a6b358f2a8de Mon Sep 17 00:00:00 2001 From: Diego Date: Sun, 14 Sep 2014 23:07:28 -0300 Subject: + play: * use the url template from the routes file as default trace name(basic implementation), and closes #82 * minor refactor in RequestInstrumentation --- kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala') diff --git a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala index aba1f1aa..8b0e0135 100644 --- a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala @@ -59,7 +59,7 @@ class WSInstrumentationSpec extends WordSpecLike with Matchers with OneServerPer }(Akka.system()) val snapshot = takeSnapshotOf("trace-outside-action") - println(snapshot) + println(snapshot) // force load snapshot.elapsedTime.numberOfMeasurements should be(1) snapshot.segments.size should be(1) snapshot.segments(HttpClientRequest("http://localhost:19001/outside")).numberOfMeasurements should be(1) -- cgit v1.2.3