You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.
Sorry I missed this issue, were you able to resolve it?
The issue should be where you added @EnableMetrics, since the WebApplicationContext (under which security typically runs) is separate from you ApplicationContext, so adding @EnableMetrics to the security config class should fix it.
Hi all, I think I encountered a bug with 3.1.3 using @counted to annotate a Spring form login SuccessHandler:
The above code would register a Counter successfully as I could see both in the log and reporter.
However, no matter how many times that method is invoked the counter remains 0.
I do use
@EnableMetrics(proxyTargetClass = true)
If remove the annotation and doing the counter by hand like the following, the counter works well:
Thanks.
The text was updated successfully, but these errors were encountered: