diff options
author | Diego Parra <diegolparra@gmail.com> | 2013-11-26 23:13:03 -0300 |
---|---|---|
committer | Diego Parra <diegolparra@gmail.com> | 2013-11-26 23:13:03 -0300 |
commit | 536599b41439ca5f88129f78e5df71b1c957d900 (patch) | |
tree | fc4c369439a4634dcbe9cf5402a556aab0f991dc /kamon-newrelic/src/main | |
parent | 5e0b032bfef9509e64af2960452aed44b6e6cb22 (diff) | |
download | Kamon-536599b41439ca5f88129f78e5df71b1c957d900.tar.gz Kamon-536599b41439ca5f88129f78e5df71b1c957d900.tar.bz2 Kamon-536599b41439ca5f88129f78e5df71b1c957d900.zip |
WIP: newrelic integration html
Diffstat (limited to 'kamon-newrelic/src/main')
3 files changed, 0 insertions, 5 deletions
diff --git a/kamon-newrelic/src/main/scala/kamon/newrelic/Apdex.scala b/kamon-newrelic/src/main/scala/kamon/newrelic/Apdex.scala index 53240c89..34bb4f46 100644 --- a/kamon-newrelic/src/main/scala/kamon/newrelic/Apdex.scala +++ b/kamon-newrelic/src/main/scala/kamon/newrelic/Apdex.scala @@ -61,7 +61,6 @@ class Apdex extends Actor { uowTrace.segments.collect { case we: WebExternal ⇒ we }.foreach { webExternalTrace ⇒ val external = ((webExternalTrace.finish - webExternalTrace.start) / 1E9).toFloat - println("Web External: " + webExternalTrace) NRAgent.recordMetric(s"External/${webExternalTrace.host}/http", external) NRAgent.recordMetric(s"External/${webExternalTrace.host}/all", external) NRAgent.recordMetric(s"External/${webExternalTrace.host}/http/WebTransaction/Custom" + uowTrace.name, external) diff --git a/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelic.scala b/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelic.scala index e76c9bde..f933bee4 100644 --- a/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelic.scala +++ b/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelic.scala @@ -108,8 +108,5 @@ class WebTransactionMetrics extends Actor with ActorLogging { recordValue(NewRelicMetric.ID("WebTransaction", None), elapsedSeconds) recordValue(NewRelicMetric.ID("HttpDispatcher", None), elapsedSeconds) recordValue(NewRelicMetric.ID("WebTransaction/Custom/" + trace.name, None), elapsedSeconds) - - /*println("Recorded Apdex: " + apdex) - println("Current Metrics: \n" + metrics.mkString("\n"))*/ } } diff --git a/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelicReporting.scala b/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelicReporting.scala index 260fc71e..000e6286 100644 --- a/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelicReporting.scala +++ b/kamon-newrelic/src/main/scala/kamon/newrelic/NewRelicReporting.scala @@ -35,7 +35,6 @@ class NewRelicReporting extends Actor { uowTrace.segments.collect { case we: WebExternal ⇒ we }.foreach { webExternalTrace ⇒ val external = ((webExternalTrace.finish - webExternalTrace.start) / 1E9).toFloat - println("Web External: " + webExternalTrace) NewRelic.recordMetric(s"External/${webExternalTrace.host}/http", external) NewRelic.recordMetric(s"External/${webExternalTrace.host}/all", external) NewRelic.recordMetric(s"External/${webExternalTrace.host}/http/WebTransaction/Custom" + uowTrace.name, external) |