aboutsummaryrefslogtreecommitdiff
path: root/kamon-playground
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-11-06 16:29:54 +0100
committerIvan Topolnjak <ivantopo@gmail.com>2014-11-09 18:01:35 +0100
commitf498749274bc9f25ede7221d6bd8b3f0c3822dda (patch)
tree9371eb98b88830b5c61619a29f53fd4d45040e71 /kamon-playground
parent6e3d9ae88ecce10420eeac82294c54c1b43dedf4 (diff)
downloadKamon-f498749274bc9f25ede7221d6bd8b3f0c3822dda.tar.gz
Kamon-f498749274bc9f25ede7221d6bd8b3f0c3822dda.tar.bz2
Kamon-f498749274bc9f25ede7221d6bd8b3f0c3822dda.zip
! newrelic: major refactor of the newrelic reporter
Most notable changes: - The agent connection setup is separated from the actual metrics reporting, this will be important in the near future when we start sending errors too. - The metrics subscriptions are delayed until the connection to the agent is established. - The Tick metrics buffer is only created if necessary. - Introduced the kamon.newrelic.max-initialize-retries and initialize-retry-delay settings. - External service calls via HTTP clients are reported as external services.
Diffstat (limited to 'kamon-playground')
-rw-r--r--kamon-playground/src/main/resources/application.conf2
-rw-r--r--kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/kamon-playground/src/main/resources/application.conf b/kamon-playground/src/main/resources/application.conf
index 32f0269d..86a87439 100644
--- a/kamon-playground/src/main/resources/application.conf
+++ b/kamon-playground/src/main/resources/application.conf
@@ -1,5 +1,5 @@
akka {
- loglevel = INFO
+ loglevel = DEBUG
extensions = ["kamon.newrelic.NewRelic"]
actor {
diff --git a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
index 878c3c8c..506e0bff 100644
--- a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
+++ b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
@@ -106,7 +106,7 @@ object SimpleRequestProcessor extends App with SimpleRoutingApp with RequestBuil
}
} ~
path("future") {
- traceName("OK-Future") {
+ traceName("OKFuture") {
dynamic {
counter.increment()
complete(Future { "OK" })