From aa1980de105ce128ba75099815f97de3d0d4b552 Mon Sep 17 00:00:00 2001 From: Ivan Topolnjak Date: Fri, 30 Jan 2015 03:25:54 +0100 Subject: + all: use ModuleSupervisor init all auto-start modules. The new ModuleSupervisor implementation will make use of special configuration keys under the `kamon.modules` section to detect all the available modules in the classpath and do two things with that info: 1. Log the AspectJ Weaver missing error if any of the available modules requires AspectJ. 2. Start all available modules that are marked with the auto-start setting. --- .../src/main/resources/application.conf | 31 ++++++++-------------- 1 file changed, 11 insertions(+), 20 deletions(-) (limited to 'kamon-playground/src/main/resources') diff --git a/kamon-playground/src/main/resources/application.conf b/kamon-playground/src/main/resources/application.conf index 11f06334..74e710bc 100644 --- a/kamon-playground/src/main/resources/application.conf +++ b/kamon-playground/src/main/resources/application.conf @@ -1,6 +1,5 @@ akka { - loglevel = INFO - extensions = ["kamon.statsd.StatsD", "kamon.system.SystemMetrics"] + loglevel = DEBUG actor { debug { @@ -15,13 +14,6 @@ spray.can { } } -kamon { - newrelic { - app-name = "SimpleRequestProcessor" - license-key = e7d350b14228f3d28f35bc3140df2c3e565ea5d5 - } -} - kamon { trace { level = simple-trace @@ -34,16 +26,15 @@ kamon { } } -} - + newrelic { + app-name = "SimpleRequestProcessor" + license-key = e7d350b14228f3d28f35bc3140df2c3e565ea5d5 + } -kamon { - metrics { - actors { - tracked = [ - "user/simple-service-actor", - "other" - ] - } + modules { + kamon-newrelic.auto-start = no + kamon-datadog.auto-start = no + kamon-log-reporter.auto-start = no + kamon-system-metrics.auto-start = no } -} \ No newline at end of file +} -- cgit v1.2.3