We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Counter is published when annotation @Counted is used and method is hit, similar to behavour seen when using @Timed
@Counted
@Timed
Counter is not being intercepted for methods annotated with @Counted
1> Annotate singleton method with @counted
2> Setup micronaut test to call method.
3> Verify that metric is published to meterRegistry
Test project setup with reproduction steps. Annotated Singleton: https://github.com/quinonem/micronaut-counter/blob/main/src/main/java/com/example/MyService.java
Test Verification: https://github.com/quinonem/micronaut-counter/blob/main/src/test/java/com/example/ApplicationTest.java
Mac OS 13.2.1 JDK 11
https://github.com/quinonem/micronaut-counter
3.8.8
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Counter is published when annotation
@Counted
is used and method is hit, similar to behavour seen when using@Timed
Actual Behaviour
Counter is not being intercepted for methods annotated with
@Counted
Steps To Reproduce
1> Annotate singleton method with @counted
2> Setup micronaut test to call method.
3> Verify that metric is published to meterRegistry
Test project setup with reproduction steps.
Annotated Singleton: https://github.com/quinonem/micronaut-counter/blob/main/src/main/java/com/example/MyService.java
Test Verification: https://github.com/quinonem/micronaut-counter/blob/main/src/test/java/com/example/ApplicationTest.java
Environment Information
Mac OS 13.2.1
JDK 11
Example Application
https://github.com/quinonem/micronaut-counter
Version
3.8.8
The text was updated successfully, but these errors were encountered: