aboutsummaryrefslogtreecommitdiff
path: root/kamon-playground
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-11-07 18:41:33 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-11-07 18:41:33 -0300
commitbf86900669d649308f4914c54e6fe076510506a6 (patch)
treed8bf9af9f5c8a946d757137a303f6956c05edb03 /kamon-playground
parent2b63540e5fffab545d0846cfb3dab5c0e1d0c9e1 (diff)
downloadKamon-bf86900669d649308f4914c54e6fe076510506a6.tar.gz
Kamon-bf86900669d649308f4914c54e6fe076510506a6.tar.bz2
Kamon-bf86900669d649308f4914c54e6fe076510506a6.zip
halfway to our own NewRelic Agent
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)