diff options
author | Diego <diegolparra@gmail.com> | 2014-10-18 23:57:26 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-10-18 23:57:26 -0300 |
commit | fc22c55f1c5caac4a4921855c30b966722ec8157 (patch) | |
tree | b3791628007315c645e05c2974940c2b08c5b3bd /kamon-playground/src/main/scala/test | |
parent | 0f4847445b31a2a76897f7405512a58fb4d4a1dd (diff) | |
download | Kamon-fc22c55f1c5caac4a4921855c30b966722ec8157.tar.gz Kamon-fc22c55f1c5caac4a4921855c30b966722ec8157.tar.bz2 Kamon-fc22c55f1c5caac4a4921855c30b966722ec8157.zip |
! kamon-newrelic: * Avoid reporting data to Newrelic if no metrics have been collected
* Implement error handling with NewRelic Agent * Minor refactor * close issue #7 and issue #17
Diffstat (limited to 'kamon-playground/src/main/scala/test')
-rw-r--r-- | kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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() } |