Comments (3)
Hi Helder,
It looks like you haven't added the metrics-aspect
library into the aspectLibraries
element of the Maven AspectJ plugin:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<configuration>
<aspectLibraries>
<aspectLibrary>
<groupId>io.astefanutti.metrics.aspectj</groupId>
<artifactId>metrics-aspectj</artifactId>
</aspectLibrary>
</aspectLibraries>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
Hopefully, that should fix your issue. Let me know the result.
from metrics-aspectj.
Thanks @astefanutti
It works perfect now!!!
17/06/15 16:03:33 ==============================================================
-- Meters ----------------------------------------------------------------------
com.hm.Service.sayHi
count = 1
mean rate = 0,08 events/second
1-minute rate = 0,18 events/second
5-minute rate = 0,20 events/second
15-minute rate = 0,20 events/second
Thank you so much!
from metrics-aspectj.
Welcome! Let me know if you face any other issues.
from metrics-aspectj.
Related Issues (12)
- v1.0.0 Is Not In Maven Central HOT 2
- @Timed method on base class throws NullPointerException when class is extended HOT 15
- Support histogram via return value and expression language HOT 2
- Gradle usage example would be "nice to have". HOT 3
- About metrics reporter HOT 1
- A metric named "AnnotationService.setSize" already exists HOT 3
- NullPointerException on timed methods with several parameters
- EL Expression is not working with @Metrics annotation HOT 7
- Introduction of default MetricRegistry HOT 1
- ClassCastException: com.codahale.metrics.Timer cannot be cast to com.codahale.metrics.Meter HOT 4
- Clarify in README whether this plugin actually works with Spring AOP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metrics-aspectj.