aboutsummaryrefslogtreecommitdiff
path: root/kamon-examples/kamon-play-example-2.4.x/conf
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-examples/kamon-play-example-2.4.x/conf')
-rw-r--r--kamon-examples/kamon-play-example-2.4.x/conf/application.conf65
-rw-r--r--kamon-examples/kamon-play-example-2.4.x/conf/logger.xml27
-rw-r--r--kamon-examples/kamon-play-example-2.4.x/conf/routes5
3 files changed, 0 insertions, 97 deletions
diff --git a/kamon-examples/kamon-play-example-2.4.x/conf/application.conf b/kamon-examples/kamon-play-example-2.4.x/conf/application.conf
deleted file mode 100644
index c42c6459..00000000
--- a/kamon-examples/kamon-play-example-2.4.x/conf/application.conf
+++ /dev/null
@@ -1,65 +0,0 @@
-#kamon related configuration
-
-kamon {
-
- metric {
- tick-interval = 1 second
- }
-
- statsd {
- # Hostname and port in which your StatsD is running. Remember that StatsD packets are sent using UDP and
- # setting unreachable hosts and/or not open ports wont be warned by the Kamon, your data wont go anywhere.
- hostname = "127.0.0.1"
- port = 8125
-
- # Interval between metrics data flushes to StatsD. It's value must be equal or greater than the
- # kamon.metrics.tick-interval setting.
- flush-interval = 1 second
-
- # Max packet size for UDP metrics data sent to StatsD.
- max-packet-size = 1024 bytes
-
- # Subscription patterns used to select which metrics will be pushed to StatsD. Note that first, metrics
- # collection for your desired entities must be activated under the kamon.metrics.filters settings.
- includes {
- actor = [ "*" ]
- trace = [ "*" ]
- dispatcher = [ "*" ]
- }
-
- simple-metric-key-generator {
- # Application prefix for all metrics pushed to StatsD. The default namespacing scheme for metrics follows
- # this pattern:
- # application.host.entity.entity-name.metric-name
- application = "activator-akka-kamon-statsd"
- }
- }
-
- play {
- include-trace-token-header = true
- trace-token-header-name = "X-Trace-Token"
- }
-
- modules {
- kamon-statsd.auto-start = no
- kamon-log-reporter.auto-start = yes
- kamon-system-metrics.auto-start = no
- }
-}
-
-# This is the main configuration file for the application.
-# ~~~~~
-
-# Secret key
-# ~~~~~
-# The secret key is used to secure cryptographics functions.
-# If you deploy your application to several instances be sure to use the same key!
-application.secret = "3BLM`<aD^5r/L[MinNdw8Tp@915n0djY[g66OSOLi@?k`>AZE9EOphrmf;;6JsAN"
-
-# The application languages
-# ~~~~~
-play.i18n.langs = ["en"]
-
-# HttpRequestHandler
-play.http.requestHandler = "play.http.DefaultHttpRequestHandler"
-
diff --git a/kamon-examples/kamon-play-example-2.4.x/conf/logger.xml b/kamon-examples/kamon-play-example-2.4.x/conf/logger.xml
deleted file mode 100644
index a4a10bd0..00000000
--- a/kamon-examples/kamon-play-example-2.4.x/conf/logger.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<configuration scan="true">
-
- <!--
- if we use the AsyncAppender this value will not be available at the moment of log,
- because the operation is executed in another ThreadPool,
- in that case we need put the value the MDC like the [%X{User-Agent}]
- -->
- <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 [%traceToken][%X{User-Agent}] [%thread] %logger{55} - %msg%n</pattern>
- </encoder>
- </appender>
-
- <appender name="ASYNC" class="ch.qos.logback.classic.AsyncAppender">
- <appender-ref ref="STDOUT" />
- </appender>
-
- <logger name="play" level="INFO" />
- <logger name="application" level="INFO" />
-
- <root level="INFO">
- <appender-ref ref="STDOUT" />
- </root>
-
-</configuration>
diff --git a/kamon-examples/kamon-play-example-2.4.x/conf/routes b/kamon-examples/kamon-play-example-2.4.x/conf/routes
deleted file mode 100644
index 6aae1d8e..00000000
--- a/kamon-examples/kamon-play-example-2.4.x/conf/routes
+++ /dev/null
@@ -1,5 +0,0 @@
-# Routes
-GET /helloKamon @controllers.KamonPlayExample.sayHello
-GET /helloKamonWithTraceName @controllers.KamonPlayExample.sayHelloWithTraceName
-GET /incrementCounter @controllers.KamonPlayExample.incrementCounter
-GET /updateTraceLocal @controllers.KamonPlayExample.updateTraceLocal \ No newline at end of file