Dropwizard Jersey2 NewRelic Integration

In order to integrate Dropwizard 0.8.x with the in depth analytics provided by New Relic, I’ve made some enhancements to the code samples from Kyle Boon’s blog: Enabling Newrelic for Dropwizard.

With Dropwizard’s upgrade to Jersey2, it’s a matter of migrating logic from ResourceMethodDispatchProvider to ApplicationEventListener and RequestDispatcher to RequestEventListener. Gist available here: