code: public static void createAndRegister(final String thriftEndpoint, final String serviceName) {
      synchronized (monitor) {
        checkState(handler == null, "Jaeger exporter is already registered.");
        final SpanExporter.Handler newHandler = newHandler(thriftEndpoint, serviceName);
        JaegerTraceExporter.handler = newHandler;
        register(Tracing.getExportComponent().getSpanExporter(), newHandler);
      }
    }
docs: Creates and registers the Jaeger Trace exporter to the OpenCensus library. Only one Jaeger
  exporter can be registered at any point.
  
  @param thriftEndpoint the Thrift endpoint of your Jaeger instance, e.g.:
  "http://127.0.0.1:14268/api/traces"
  @param serviceName the local service name of the process.
  @throws IllegalStateException if a Jaeger exporter is already registered.
  @since 0.13