Class ZipkinTracerFactory

java.lang.Object
io.vertx.tracing.zipkin.ZipkinTracerFactory
All Implemented Interfaces:
VertxServiceProvider, VertxTracerFactory

public class ZipkinTracerFactory extends Object implements VertxTracerFactory
  • Constructor Details

    • ZipkinTracerFactory

      public ZipkinTracerFactory()
    • ZipkinTracerFactory

      public ZipkinTracerFactory(brave.sampler.Sampler sampler)
    • ZipkinTracerFactory

      public ZipkinTracerFactory(brave.http.HttpTracing httpTracing)
    • ZipkinTracerFactory

      public ZipkinTracerFactory(brave.Tracing tracing)
  • Method Details

    • tracer

      public ZipkinTracer tracer(TracingOptions options)
      Description copied from interface: VertxTracerFactory
      Create a new VertxTracer object.

      No specific thread and context can be expected when this method is called.

      Specified by:
      tracer in interface VertxTracerFactory
      Parameters:
      options - the metrics configuration option
      Returns:
      the tracing implementation
    • newOptions

      public ZipkinTracingOptions newOptions()
      Description copied from interface: VertxTracerFactory
      Create an empty tracing options. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration.
      Specified by:
      newOptions in interface VertxTracerFactory
      Returns:
      new tracing options
    • newOptions

      public ZipkinTracingOptions newOptions(JsonObject jsonObject)
      Description copied from interface: VertxTracerFactory
      Create tracing options from the provided jsonObject. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration.
      Specified by:
      newOptions in interface VertxTracerFactory
      Parameters:
      jsonObject - json provided by the user
      Returns:
      new tracing options