aboutsummaryrefslogblamecommitdiff
path: root/kamon-core/src/main/resources/META-INF/aop.xml
blob: 07f5cfd13d4e6c73f6f1dacc5b9430be622ba702 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                                

         
           


                                                                      
                   






                                                                                  
 
                        

                                                                                           
 
                    
                                                                      
 
                     
                                                                   
            
 
                                                                                         




                                           
 
         
<!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>