diff options
author | Diego <diegolparra@gmail.com> | 2015-08-16 11:49:58 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-08-16 11:49:58 -0300 |
commit | 8bd9c3ed83aa7af8199e076243a935644c321902 (patch) | |
tree | 0d189baf9b409e45b23546843bd590a6b0dc8551 /kamon-examples/kamon-play-example-2.4.x/app | |
parent | c223b5a334037c5ff3d5db026e6178a92706cdb4 (diff) | |
download | Kamon-8bd9c3ed83aa7af8199e076243a935644c321902.tar.gz Kamon-8bd9c3ed83aa7af8199e076243a935644c321902.tar.bz2 Kamon-8bd9c3ed83aa7af8199e076243a935644c321902.zip |
! kamon-examples: update play examples before release
Diffstat (limited to 'kamon-examples/kamon-play-example-2.4.x/app')
-rw-r--r-- | kamon-examples/kamon-play-example-2.4.x/app/controllers/KamonPlayExample.scala | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/kamon-examples/kamon-play-example-2.4.x/app/controllers/KamonPlayExample.scala b/kamon-examples/kamon-play-example-2.4.x/app/controllers/KamonPlayExample.scala index 7f3b677d..fd6f08e7 100644 --- a/kamon-examples/kamon-play-example-2.4.x/app/controllers/KamonPlayExample.scala +++ b/kamon-examples/kamon-play-example-2.4.x/app/controllers/KamonPlayExample.scala @@ -27,18 +27,11 @@ import javax.inject._ import scala.concurrent._ /** - * In order to run the example we need set the -javaagent option to the JVM, but Play have some limitations when trying to set an - * java agent in Play dev mode (ie, play run) -> https://github.com/playframework/playframework/issues/1372, so we have others options: - * - * The first option is set -javaagent: path-to-aspectj-weaver in your IDE or - * * Run the following commands from console: * - * 1- play stage - * 2- cd target/universal/stage/bin - * 3- ./kamon-play-example -J-javaagent:../lib/org.aspectj.aspectjweaver-1.8.6.jar + * aspectj-runner:run * - * and finally for test: + * and finally testing: * * curl -i -H 'X-Trace-Token:kamon-test' -H 'MyTraceLocalStorageKey:extra-header' -X GET "http://localhost:9000/helloKamon" * @@ -50,8 +43,6 @@ import scala.concurrent._ * * Say hello to Kamon **/ - - class KamonPlayExample @Inject() (kamon: Kamon) extends Controller { val logger = Logger(this.getClass) |