aboutsummaryrefslogtreecommitdiff
path: root/kamon-playground
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-playground')
-rw-r--r--kamon-playground/src/main/resources/application.conf9
-rw-r--r--kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala3
2 files changed, 11 insertions, 1 deletions
diff --git a/kamon-playground/src/main/resources/application.conf b/kamon-playground/src/main/resources/application.conf
new file mode 100644
index 00000000..1036f393
--- /dev/null
+++ b/kamon-playground/src/main/resources/application.conf
@@ -0,0 +1,9 @@
+akka {
+ actor {
+ debug {
+ unhandled = on
+ }
+ }
+
+ extensions = ["kamon.newrelic.NewRelic"]
+} \ No newline at end of file
diff --git a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
index 7ee92580..628a2c41 100644
--- a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
+++ b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
@@ -7,6 +7,7 @@ import spray.httpx.RequestBuilding
import scala.concurrent.{Await, Future}
import kamon.spray.UowDirectives
import kamon.trace.Trace
+import kamon.Kamon
object SimpleRequestProcessor extends App with SimpleRoutingApp with RequestBuilding with UowDirectives {
import scala.concurrent.duration._
@@ -18,7 +19,7 @@ object SimpleRequestProcessor extends App with SimpleRoutingApp with RequestBuil
val act = system.actorOf(Props(new Actor {
def receive: Actor.Receive = { case any => sender ! any }
- }), "com.despegar-2:[]s-w@&,*")
+ }), "com")
implicit val timeout = Timeout(30 seconds)