Hey all,

I've wondered how to do this for years and have never quite managed to 
figure it out. For the purpose of metrics, I'd like to wrap a request such 
that I get the chance to, say, increment a counter while it runs, and then 
decrement it after it completes. Unlike a ContainerResponseFilter, I don't 
want to decrement until the *body* completes, if there is one.

Is there a better way to do this than by frankensteining together an 
interceptor and request filters?

Thank you!
Zack

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-user/ed807610-eb5f-4fc7-b213-3ddfed1d8f18n%40googlegroups.com.

Reply via email to