Adding annotation like @Timed but for Counter only.
BeniaminK opened this issue · 2 comments
BeniaminK commented
Hi, I wanted to create an annotation like @Timed
however I cannot find a place, where I should insert the logic of this annotation. Could you help me in this? Can I do it outside of the dropwizard-metrics project, i.e. can I create this annotation in my project and implement a logic there?
joschi commented
can I create this annotation in my project and implement a logic there?
Yes, you can implement this yourself for your project. Take a look how InstrumentedResourceMethodApplicationListener
in metrics-jersey2
or metrics-jersey3
are implemented.
github-actions commented
This issue is stale because it has been open 180 days with no activity. Remove the "stale" label or comment or this will be closed in 14 days.