aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/resources/META-INF/aop.xml
blob: 1448f22f06bf76755ab197ee4bb31def5e434c6c (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
<!DOCTYPE aspectj PUBLIC "-//AspectJ//DTD//EN" "http://www.eclipse.org/aspectj/dtd/aspectj.dtd">

<aspectj>
    <weaver options="-verbose -showWeaveInfo">
        <!-- In case you want to see the weaved classes -->
        <!--<dump within="*"/>-->
    </weaver>

    <aspects>
        <!-- Actors -->
        <aspect name="akka.instrumentation.RepointableActorRefTraceContextMixin"/>
        <aspect name="akka.instrumentation.SystemMessageTraceContextMixin"/>
        <aspect name="akka.instrumentation.ActorSystemMessagePassingTracing"/>
        <aspect name="akka.instrumentation.EnvelopeTraceContextMixin"/>
        <aspect name="akka.instrumentation.BehaviourInvokeTracing"/>
        <aspect name="kamon.instrumentation.ActorLoggingTracing"/>

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

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


        <include within="scala.concurrent..*"/>
        <include within="akka..*"/>
        <include within="spray..*"/>
        <include within="kamon..*"/>
    </aspects>

</aspectj>