aboutsummaryrefslogtreecommitdiff
path: root/kamon-examples/kamon-play-example/conf/application.conf
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-examples/kamon-play-example/conf/application.conf')
-rw-r--r--kamon-examples/kamon-play-example/conf/application.conf26
1 files changed, 18 insertions, 8 deletions
diff --git a/kamon-examples/kamon-play-example/conf/application.conf b/kamon-examples/kamon-play-example/conf/application.conf
index 4f9a60ec..65a834c6 100644
--- a/kamon-examples/kamon-play-example/conf/application.conf
+++ b/kamon-examples/kamon-play-example/conf/application.conf
@@ -1,11 +1,10 @@
#kamon related configuration
akka {
- extensions = ["kamon.statsd.StatsD"]
+ extensions = ["kamon.statsd.StatsD", "kamon.system.SystemMetrics", "kamon.logreporter.LogReporter"]
}
kamon {
-
- statsd {
+ 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"
@@ -26,6 +25,10 @@ kamon {
dispatcher = [ "*" ]
}
+ # Enable system metrics
+ # In order to not get a ClassNotFoundException, we must register the kamon-sytem-metrics module
+ report-system-metrics = true
+
simple-metric-key-generator {
# Application prefix for all metrics pushed to StatsD. The default namespacing scheme for metrics follows
# this pattern:
@@ -33,10 +36,17 @@ kamon {
application = "kamon"
}
}
-
+
+ weaver {
+ showWeaveInfo = off
+ verbose = off
+ debug = off
+ showWarn = off
+ }
+
play {
- include-trace-token-header = true
- trace-token-header-name = "X-Trace-Token"
+ include-trace-token-header = true
+ trace-token-header-name = "X-Trace-Token"
}
}
@@ -47,11 +57,11 @@ kamon {
# ~~~~~
# 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"
+application.secret = "3BLM`<aD^5r/L[MinNdw8Tp@915n0djY[g66OSOLi@?k`>AZE9EOphrmf;;6JsAN"
# The application languages
# ~~~~~
-application.langs="en"
+application.langs = "en"
# Global object class
# ~~~~~