Giter Club home page Giter Club logo

Comments (3)

astefanutti avatar astefanutti commented on May 28, 2024

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.

hemarque avatar hemarque commented on May 28, 2024

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.

astefanutti avatar astefanutti commented on May 28, 2024

Welcome! Let me know if you face any other issues.

from metrics-aspectj.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.