docs: public static void main(String[] args) throws Exception {
      initTracing();
      initStatsExporter();
  
      Server server = new Server(8080);
      ServletContextHandler contextHandler =
          new ServletContextHandler(ServletContextHandler.SESSIONS);
      contextHandler.setContextPath("/helloworld");
      ServletHolder sh = new ServletHolder(new HelloServlet());
      contextHandler.addServlet(sh, "/request/*");
  
      // Enable tracing by adding OcHttpServleFilter for all path
      contextHandler.addFilter(OcHttpServletFilter.class, "/*", EnumSet.of(DispatcherType.REQUEST));
  
      // Uncomment following line to use B3Format for trace context propagation.
      // contextHandler.setAttribute(
      //    OC_TRACE_PROPAGATOR, Tracing.getPropagationComponent().getB3Format());
  
      // By default publicEndpoint parameter is set to false and incoming trace context is added as
      // a parent.
      // If the endpoint for http request is public then uncomment following line to set the
      // publicEndpoint parameter to true. When set to true incoming trace context is added as a
      // parent link instead of as a parent.
      //
      // contextHandler.setInitParameter(OC_PUBLIC_ENDPOINT, "true");
  
      server.setHandler(contextHandler);
      try {
        server.start();
        server.join();
      } catch (Exception e) {
        logger.error("Failed to start application", e);
      }
    }