diff options
author | Diego <diegolparra@gmail.com> | 2014-06-28 11:37:00 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-06-28 11:37:00 -0300 |
commit | 0279260cde60505f311aeed08b4706a4dc6fded0 (patch) | |
tree | cd494275cd47bb1ae49c229e4aa7a66eb4ea4927 /kamon-examples/kamon-play-example/conf/application.conf | |
parent | 4d5803e579e223c4f4f5cb37ab79ca069a007949 (diff) | |
download | Kamon-0279260cde60505f311aeed08b4706a4dc6fded0.tar.gz Kamon-0279260cde60505f311aeed08b4706a4dc6fded0.tar.bz2 Kamon-0279260cde60505f311aeed08b4706a4dc6fded0.zip |
+ kamon-examples: updated play example to the latest version
Diffstat (limited to 'kamon-examples/kamon-play-example/conf/application.conf')
-rw-r--r-- | kamon-examples/kamon-play-example/conf/application.conf | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kamon-examples/kamon-play-example/conf/application.conf b/kamon-examples/kamon-play-example/conf/application.conf new file mode 100644 index 00000000..4f9a60ec --- /dev/null +++ b/kamon-examples/kamon-play-example/conf/application.conf @@ -0,0 +1,61 @@ +#kamon related configuration +akka { + extensions = ["kamon.statsd.StatsD"] +} + +kamon { + + 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 = "kamon" + } + } + + play { + include-trace-token-header = true + trace-token-header-name = "X-Trace-Token" + } +} + +# 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 +# ~~~~~ +application.langs="en" + +# Global object class +# ~~~~~ +# Define the Global object class for this application. +# Default to Global in the root package. +# application.global=Global + |