use of brave.jaxrs2.TracingBootstrap in project brave by openzipkin.
the class ITDeclarativeSampling method init.
@Override
public void init(ServletContextHandler handler) {
// Adds application programmatically as opposed to using web.xml
handler.addServlet(new ServletHolder(new HttpServletDispatcher()), "/*");
handler.addEventListener(new TracingBootstrap(httpTracing, new Resource()));
}
Aggregations