aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core/src/main/resources')
-rw-r--r--kamon-core/src/main/resources/META-INF/aop.xml3
-rw-r--r--kamon-core/src/main/resources/reference.conf6
2 files changed, 9 insertions, 0 deletions
diff --git a/kamon-core/src/main/resources/META-INF/aop.xml b/kamon-core/src/main/resources/META-INF/aop.xml
index e1edaed9..07f5cfd1 100644
--- a/kamon-core/src/main/resources/META-INF/aop.xml
+++ b/kamon-core/src/main/resources/META-INF/aop.xml
@@ -2,6 +2,9 @@
<aspectj>
<aspects>
+ <!-- Disable AspectJ Weaver not present error -->
+ <aspect name="kamon.instrumentation.AspectJWeaverMissingWarning"/>
+
<!-- Actors -->
<aspect name="akka.instrumentation.TraceContextIntoRepointableActorRefMixin"/>
<aspect name="akka.instrumentation.TraceContextIntoSystemMessageMixin"/>
diff --git a/kamon-core/src/main/resources/reference.conf b/kamon-core/src/main/resources/reference.conf
index 3c8f3686..b3df73bf 100644
--- a/kamon-core/src/main/resources/reference.conf
+++ b/kamon-core/src/main/resources/reference.conf
@@ -26,6 +26,12 @@ kamon {
# be allocated once and reused it shouldn't impose a memory footprint issue.
default-collection-context-buffer-size = 33792
+ # Disables a big error message that will be typically logged if your application wasn't started
+ # with the -javaagent:/path-to-aspectj-weaver.jar option. If you are only using KamonStandalone
+ # it might be ok for you to turn this error off.
+ disable-aspectj-weaver-missing-error = false
+
+
dispatchers {
# Dispatcher for periodical gauge value recordings.