diff options
Diffstat (limited to 'kamon-playground/src/main/resources')
-rw-r--r-- | kamon-playground/src/main/resources/application.conf | 11 | ||||
-rw-r--r-- | kamon-playground/src/main/resources/logback.xml | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/kamon-playground/src/main/resources/application.conf b/kamon-playground/src/main/resources/application.conf index 88a77566..c0793fea 100644 --- a/kamon-playground/src/main/resources/application.conf +++ b/kamon-playground/src/main/resources/application.conf @@ -1,6 +1,9 @@ akka { loggers = [ "akka.event.slf4j.Slf4jLogger" ] loglevel = INFO + + extensions = ["kamon.newrelic.NewRelic"] + actor { debug { unhandled = on @@ -8,6 +11,14 @@ akka { } } +kamon { + newrelic { + app-name = "SimpleRequestProcessor" + license-key = e7d350b14228f3d28f35bc3140df2c3e565ea5d5 + } +} + + kamon { metrics { diff --git a/kamon-playground/src/main/resources/logback.xml b/kamon-playground/src/main/resources/logback.xml index e948eaf5..ae342ca2 100644 --- a/kamon-playground/src/main/resources/logback.xml +++ b/kamon-playground/src/main/resources/logback.xml @@ -1,8 +1,8 @@ <configuration scan="true"> - <conversionRule conversionWord="uow" converterClass="kamon.trace.logging.LogbackUowConverter" /> + <conversionRule conversionWord="traceToken" converterClass="kamon.trace.logging.LogbackTraceTokenConverter" /> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> - <pattern>%date{HH:mm:ss.SSS} %-5level [%uow][%X{akkaSource}] [%thread] %logger{55} - %msg%n</pattern> + <pattern>%date{HH:mm:ss.SSS} %-5level [%traceToken][%X{akkaSource}] [%thread] %logger{55} - %msg%n</pattern> </encoder> </appender> |