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. --- kamon-akka/src/main/resources/reference.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'kamon-akka/src') diff --git a/kamon-akka/src/main/resources/reference.conf b/kamon-akka/src/main/resources/reference.conf index 1ffe7a7f..5f35e267 100644 --- a/kamon-akka/src/main/resources/reference.conf +++ b/kamon-akka/src/main/resources/reference.conf @@ -20,4 +20,13 @@ kamon { actor.includes = [] actor.excludes = [ "", "user", "system**", "user/IO-**" ] } + + + modules { + kamon-akka { + auto-start = yes + requires-aspectj = yes + extension-id = "kamon.akka.Akka" + } + } } \ No newline at end of file -- cgit v1.2.3