diff options
Diffstat (limited to 'kamon-playground')
-rw-r--r-- | kamon-playground/src/main/resources/application.conf | 2 | ||||
-rw-r--r-- | kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kamon-playground/src/main/resources/application.conf b/kamon-playground/src/main/resources/application.conf index 58c07644..b4a6636a 100644 --- a/kamon-playground/src/main/resources/application.conf +++ b/kamon-playground/src/main/resources/application.conf @@ -1,6 +1,6 @@ akka { loglevel = INFO - extensions = ["kamon.statsd.StatsD"] + extensions = ["kamon.newrelic.NewRelic"] actor { debug { diff --git a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala index b6bcc677..3e6e982e 100644 --- a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala +++ b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala @@ -129,7 +129,7 @@ object SimpleRequestProcessor extends App with SimpleRoutingApp with RequestBuil path("segment") { complete { val segment = TraceRecorder.startSegment(HttpClientRequest("hello-world")) - (replier ? "hello").mapTo[String].onComplete { t => + (replier ? "hello").mapTo[String].onComplete { t ⇒ segment.get.finish() } |