From: Jim Ma <em...@re...> - 2016-09-08 06:27:56
|
Hi Michael, What kind of metrics do you need to add ? If you want to add the metrics to monitor the service request/response , you can look at implement a ContainerRequestFilter or ContainerResponseFilter to collect the timer, counter in these places. Or you can simply add it to the servlet filter and configure to you web app. Cheers, Jim > > -------- Messaggio Inoltrato -------- > > Oggetto: [Resteasy-users] Adding Metrics to Resteasy > Data: Fri, 2 Sep 2016 14:21:41 -0400 > Mittente: Mike Hills <mik...@se...> > A: res...@li... > > > > I am about to look into instrumenting my resteasy calls with Metrics > (http://metrics.dropwizard.io/3.1.0/). Anyone have advice on which way > to go - i.e interceptors , spring etc? > > Much appreciated. > > -- > Michael J. Hills > Sr. CRM Architect > > Mobile: 603.475.5093 > Email : mik...@se... <mailto:mik...@se...> > Skype : mhills_sematree |