code: public static void createAndRegister(String agentEndpoint) throws MalformedURLException {
      synchronized (monitor) {
        checkState(handler == null, "Instana exporter is already registered.");
        Handler newHandler = new InstanaExporterHandler(new URL(agentEndpoint));
        handler = newHandler;
        register(Tracing.getExportComponent().getSpanExporter(), newHandler);
      }
    }
docs: Creates and registers the Instana Trace exporter to the OpenCensus library. Only one Instana
  exporter can be registered at any point.
  
  @param agentEndpoint Ex http://localhost:42699/com.instana.plugin.generic.trace
  @throws MalformedURLException if the agentEndpoint is not a valid http url.
  @throws IllegalStateException if a Instana exporter is already registered.
  @since 0.12