79532112

Date: 2025-03-24 20:49:34
Score: 2.5
Natty:
Report link

Apparently the specific version of micro-meter (1.14.2) was problematic. Both downgrading or upgrading (1.14.5) solved the issue.

Indeed no manual registration (meaning using AspectJ explicitly is no more was required.
Once I got off the offending micro-meter version, both @Timed and @Counted worked fine out of the box.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Timed
  • User mentioned (0): @Counted
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Gil Shapir