io.vertx.core.spi

## Interface VertxTracerFactory

- All Known Implementing Classes:
    OpenTracingTracerFactory, ZipkinTracerFactory

      public interface VertxTracerFactory

  A factory for the plug-able tracing SPI.
  Author:
    Julien Viet

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default TracingOptions` | `newOptions()` Create an empty tracing options.
    `default TracingOptions` | `newOptions(JsonObject jsonObject)` Create tracing options from the provided `jsonObject`.
    `VertxTracer` | `tracer(TracingOptions options)` Create a new `VertxTracer` object. No specific thread and context can be expected when this method is called.

- - ### Method Detail

    - #### tracer

          VertxTracer tracer(TracingOptions options)

      Create a new `VertxTracer` object.

      No specific thread and context can be expected when this method is called.
      Parameters:
        `options` - the metrics configuration option
      Returns:
        the tracing implementation

    - #### newOptions

          default TracingOptions newOptions()

      Create an empty tracing options. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration. It is used by the `Launcher` class when creating new options when building a CLI Vert.x.
      Returns:
        new tracing options

    - #### newOptions

          default TracingOptions newOptions(JsonObject jsonObject)

      Create tracing options from the provided `jsonObject`. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration. It is used by the `Launcher` class when creating new options when building a CLI Vert.x.
      Parameters:
        `jsonObject` - json provided by the user
      Returns:
        new tracing options

Copyright © 2021 Eclipse. All rights reserved.