-
Notifications
You must be signed in to change notification settings - Fork 0
/
aop.xml
35 lines (35 loc) · 2.57 KB
/
aop.xml
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.aspectj.org/dtd/aspectj_1_5_0.dtd">
<aspectj>
<weaver options="">
<include within="com.netflix.recipes.rss..*"/>
<include within="com.sun.jersey.server.impl.application.WebApplicationImpl"/>
<include within="com.sun.jersey.spi.container.ContainerResponse"/>
<include within="com.sun.jersey.client.apache4.ApacheHttpClient4Handler"/>
<include within="com.netflix.discovery..*"/>
<include within="com.netflix.karyon..*"/>
<!--<include within="org.jboss.netty.handler.codec.http.HttpRequestDecoder"/>-->
<!--<include within="org.jboss.netty.handler.codec.http.HttpMessageDecoder"/>-->
</weaver>
<aspects>
<!-- Use the aspect directives to specify the aspect(s) to use (typically only one). -->
<!--<aspect name="kieker.monitoring.probe.aspectj.operationExecution.OperationExecutionAspectAnnotation"/>-->
<!--<aspect name="kieker.monitoring.probe.aspectj.operationExecution.OperationExecutionAspectAnnotationServlet"/>-->
<!--<aspect name="kieker.monitoring.probe.aspectj.operationExecution.OperationExecutionAspectFull"/>-->
<!--<aspect name="kieker.monitoring.probe.aspectj.operationExecution.OperationExecutionAspectFullNoConstructor"/>-->
<!--<aspect name="kieker.monitoring.probe.aspect.JoperationExecution.OperationExecutionAspectFullServlet"/>-->
<aspect name="kieker.monitoring.probe.aspectj.jersey.OperationExecutionJerseyClientInterceptor"/>
<aspect name="kieker.monitoring.probe.aspectj.jersey.OperationExecutionJerseyServerInterceptor"/>
<!--<aspect name="kieker.monitoring.probe.aspectj.netty.NettyInterceptor"/>-->
<concrete-aspect name="kieker.monitoring.probe.aspectj.operationExecution.TargetedAspect" extends="kieker.monitoring.probe.aspectj.operationExecution.AbstractOperationExecutionAspect">
<pointcut name="monitoredOperation" expression="execution(* com.netflix.recipes.rss.jersey.resources.MiddleTierResource.*(..))
|| execution(* com.netflix.recipes.rss.manager.RSSManager.getSubscriptions(..))
|| execution(* com.netflix.recipes.rss.manager.RSSManager.addSubscription(..))
|| execution(* com.netflix.recipes.rss.manager.RSSManager.deleteSubscription(..))
|| execution(* com.netflix.recipes.rss.manager.RSSManager.fetchRSSFeed(..))
|| execution(* com.netflix.discovery.DiscoveryManager.*(..))
|| execution(* com.netflix.karyon.server.KaryonServer.start(..))
|| execution(* com.netflix.recipes.rss.impl.CassandraStoreImpl.*(..))" />
<!--<pointcut name="monitoredOperation" expression="execution(* com.netflix.recipes..*(..))" />-->
</concrete-aspect>
</aspects>
</aspectj>