aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-09-30 11:21:25 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-09-30 11:21:25 -0300
commitd7f1e195da11f977d5fdbf74598e499156de8dc4 (patch)
tree58b6650bcc01c38f0cfb6fb32bbf4921d4c4b79f /kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala
parent604d5801332838f8bea25fe25cb8df5dbb82af08 (diff)
downloadKamon-d7f1e195da11f977d5fdbf74598e499156de8dc4.tar.gz
Kamon-d7f1e195da11f977d5fdbf74598e499156de8dc4.tar.bz2
Kamon-d7f1e195da11f977d5fdbf74598e499156de8dc4.zip
wip
Diffstat (limited to 'kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala b/kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala
index 9422a9f7..4eafcebe 100644
--- a/kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala
+++ b/kamon-core/src/main/scala/kamon/instrumentation/SprayServerInstrumentation.scala
@@ -32,7 +32,7 @@ class SprayServerInstrumentation {
//def afterInit(): Unit = {
Tracer.start
//openRequest.traceContext
- println("Created the context: " + Tracer.context() + " for the transaction: " + request)
+ //println("Created the context: " + Tracer.context() + " for the transaction: " + request)
Tracer.context().map(_.entries ! Rename(request.uri.path.toString()))
}
@@ -41,13 +41,13 @@ class SprayServerInstrumentation {
@After("openRequestCreation()")
def afterFinishingRequest(): Unit = {
- println("Finishing a request: " + Tracer.context())
+ //println("Finishing a request: " + Tracer.context())
Tracer.context().map(_.entries ! Finish())
-
+/*
if(Tracer.context().isEmpty) {
println("WOOOOOPAAAAAAAAA")
- }
+ }*/
}