From 1f44eda9cf8289a833f767651b1858022c4adf0a Mon Sep 17 00:00:00 2001 From: Diego Date: Mon, 29 Sep 2014 23:25:37 -0300 Subject: + play-examples: update example update sbt-aspectj plugin update play version to 2.3.4 disable a test in WSInstrumentation because fail in travis --- kamon-examples/kamon-play-example/conf/application.conf | 14 +++++++++++++- kamon-examples/kamon-play-example/project/Build.scala | 10 +++++----- kamon-examples/kamon-play-example/project/plugins.sbt | 2 +- 3 files changed, 19 insertions(+), 7 deletions(-) (limited to 'kamon-examples/kamon-play-example') diff --git a/kamon-examples/kamon-play-example/conf/application.conf b/kamon-examples/kamon-play-example/conf/application.conf index 65a834c6..8c378a22 100644 --- a/kamon-examples/kamon-play-example/conf/application.conf +++ b/kamon-examples/kamon-play-example/conf/application.conf @@ -4,6 +4,18 @@ akka { } kamon { + + metrics { + tick-interval = 1 second + } + + log-reporter { + + # Enable system metrics + # In order to not get a ClassNotFoundException, we must register the kamon-sytem-metrics module + report-system-metrics = true + } + 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. @@ -33,7 +45,7 @@ kamon { # 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" + application = "activator-akka-kamon-statsd" } } diff --git a/kamon-examples/kamon-play-example/project/Build.scala b/kamon-examples/kamon-play-example/project/Build.scala index e0c048f7..30356dcb 100644 --- a/kamon-examples/kamon-play-example/project/Build.scala +++ b/kamon-examples/kamon-play-example/project/Build.scala @@ -36,11 +36,11 @@ object ApplicationBuild extends Build { )) val dependencies = Seq( - "io.kamon" %% "kamon-core" % "0.3.4-05453bdeb54f4db8f643185c28fec34a77ef5ca9", - "io.kamon" %% "kamon-play" % "0.3.4-05453bdeb54f4db8f643185c28fec34a77ef5ca9", - "io.kamon" %% "kamon-statsd" % "0.3.4-05453bdeb54f4db8f643185c28fec34a77ef5ca9", - "io.kamon" %% "kamon-log-reporter" % "0.3.4-05453bdeb54f4db8f643185c28fec34a77ef5ca9", - "io.kamon" %% "kamon-system-metrics" % "0.3.4-05453bdeb54f4db8f643185c28fec34a77ef5ca9", + "io.kamon" %% "kamon-core" % "0.3.4", + "io.kamon" %% "kamon-play" % "0.3.4", + "io.kamon" %% "kamon-statsd" % "0.3.4", + "io.kamon" %% "kamon-log-reporter" % "0.3.4", + "io.kamon" %% "kamon-system-metrics" % "0.3.4", "org.aspectj" % "aspectjweaver" % "1.8.1" ) diff --git a/kamon-examples/kamon-play-example/project/plugins.sbt b/kamon-examples/kamon-play-example/project/plugins.sbt index bd7707a4..6f7c1c8b 100644 --- a/kamon-examples/kamon-play-example/project/plugins.sbt +++ b/kamon-examples/kamon-play-example/project/plugins.sbt @@ -5,5 +5,5 @@ logLevel := Level.Warn resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/" // Use the Play sbt plugin for Play projects -addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.3") +addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.4") -- cgit v1.2.3