diff options
author | Diego <diegolparra@gmail.com> | 2015-06-11 08:42:58 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2015-08-09 21:03:23 -0300 |
commit | 018e30868ccbbdcaa9ecae2840143218444eddc3 (patch) | |
tree | 4bc4d2457e073769a7bd1ad562b61fe0f12e3f27 /kamon-play24/src/test/resources | |
parent | d4c063e790af5bc0a58dea7f04fd2df59b3414f1 (diff) | |
download | Kamon-018e30868ccbbdcaa9ecae2840143218444eddc3.tar.gz Kamon-018e30868ccbbdcaa9ecae2840143218444eddc3.tar.bz2 Kamon-018e30868ccbbdcaa9ecae2840143218444eddc3.zip |
! play: starting play 2.4.x integration
Diffstat (limited to 'kamon-play24/src/test/resources')
-rw-r--r-- | kamon-play24/src/test/resources/META-INF/aop.xml | 11 | ||||
-rw-r--r-- | kamon-play24/src/test/resources/conf/application.conf | 8 | ||||
-rw-r--r-- | kamon-play24/src/test/resources/logback.xml | 12 |
3 files changed, 31 insertions, 0 deletions
diff --git a/kamon-play24/src/test/resources/META-INF/aop.xml b/kamon-play24/src/test/resources/META-INF/aop.xml new file mode 100644 index 00000000..2888a31a --- /dev/null +++ b/kamon-play24/src/test/resources/META-INF/aop.xml @@ -0,0 +1,11 @@ +<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd"> + +<aspectj> + <aspects> + <aspect name="kamon.play.instrumentation.FakeRequestIntrumentation"/> + </aspects> + + <weaver> + <include within="play.api..*"/> + </weaver> +</aspectj> diff --git a/kamon-play24/src/test/resources/conf/application.conf b/kamon-play24/src/test/resources/conf/application.conf new file mode 100644 index 00000000..b927087c --- /dev/null +++ b/kamon-play24/src/test/resources/conf/application.conf @@ -0,0 +1,8 @@ +kamon { + play { + include-trace-token-header = true + trace-token-header-name = "X-Trace-Token" + name-generator = kamon.play.DefaultNameGenerator + } +} + diff --git a/kamon-play24/src/test/resources/logback.xml b/kamon-play24/src/test/resources/logback.xml new file mode 100644 index 00000000..c336bbfe --- /dev/null +++ b/kamon-play24/src/test/resources/logback.xml @@ -0,0 +1,12 @@ +<configuration> + <statusListener class="ch.qos.logback.core.status.NopStatusListener"/> + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern> + </encoder> + </appender> + + <root level="OFF"> + <appender-ref ref="STDOUT"/> + </root> +</configuration>
\ No newline at end of file |