code: public static void createWithSender(final ThriftSender sender, final String serviceName) {
      synchronized (monitor) {
        checkState(handler == null, "Jaeger exporter is already registered.");
        final SpanExporter.Handler newHandler = newHandlerWithSender(sender, serviceName);
        JaegerTraceExporter.handler = newHandler;
        register(Tracing.getExportComponent().getSpanExporter(), newHandler);
      }
    }
docs: Creates and registers the Jaeger Trace exporter to the OpenCensus library using the provided
  HttpSender. Only one Jaeger exporter can be registered at any point.
  
  @param sender the pre-configured ThriftSender to use with the exporter
  @param serviceName the local service name of the process.
  @throws IllegalStateException if a Jaeger exporter is already registered.
  @since 0.17