aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources/META-INF/aop.xml
blob: 07f5cfd13d4e6c73f6f1dacc5b9430be622ba702 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">

<aspectj>
  <aspects>
    <!-- Disable AspectJ Weaver not present error -->
    <aspect name="kamon.instrumentation.AspectJWeaverMissingWarning"/>

    <!-- Actors -->
    <aspect name="akka.instrumentation.TraceContextIntoRepointableActorRefMixin"/>
    <aspect name="akka.instrumentation.TraceContextIntoSystemMessageMixin"/>
    <aspect name="akka.instrumentation.ActorSystemMessageInstrumentation"/>
    <aspect name="akka.instrumentation.TraceContextIntoEnvelopeMixin"/>
    <aspect name="akka.instrumentation.ActorCellMetricsIntoActorCellMixin"/>
    <aspect name="akka.instrumentation.ActorCellInstrumentation"/>
    <aspect name="akka.instrumentation.ActorLoggingInstrumentation"/>

    <!-- Dispatchers -->
    <aspect name="akka.instrumentation.DispatcherInstrumentation"/>
    <aspect name="akka.instrumentation.DispatcherMetricCollectionInfoIntoDispatcherMixin"/>

    <!-- Futures -->
    <aspect name="kamon.instrumentation.scala.FutureInstrumentation"/>

    <!-- Patterns -->
    <aspect name="akka.instrumentation.AskPatternInstrumentation"/>
  </aspects>

  <weaver options="-XmessageHandlerClass:kamon.weaver.logging.KamonWeaverMessageHandler">
    <include within="scala.concurrent..*"/>
    <include within="akka..*"/>
    <include within="spray..*"/>
    <include within="kamon..*"/>
  </weaver>

</aspectj>