Class OpenTracingTracerFactory
java.lang.Object
io.vertx.tracing.opentracing.OpenTracingTracerFactory
- All Implemented Interfaces:
VertxServiceProvider, VertxTracerFactory
-
Field Summary
FieldsFields inherited from interface VertxTracerFactory
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an empty tracing options.newOptions(JsonObject jsonObject) Create tracing options from the providedjsonObject.tracer(TracingOptions options) Create a newVertxTracerobject.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface VertxTracerFactory
init
-
Field Details
-
ACTIVE_SPAN
-
-
Constructor Details
-
OpenTracingTracerFactory
public OpenTracingTracerFactory() -
OpenTracingTracerFactory
public OpenTracingTracerFactory(io.opentracing.Tracer tracer)
-
-
Method Details
-
tracer
Description copied from interface:VertxTracerFactoryCreate a newVertxTracerobject. No specific thread and context can be expected when this method is called.- Specified by:
tracerin interfaceVertxTracerFactory- Parameters:
options- the metrics configuration option- Returns:
- the tracing implementation
-
newOptions
Description copied from interface:VertxTracerFactoryCreate an empty tracing options. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration.- Specified by:
newOptionsin interfaceVertxTracerFactory- Returns:
- new tracing options
-
newOptions
Description copied from interface:VertxTracerFactoryCreate tracing options from the providedjsonObject. Providers can override this method to provide a custom tracing options subclass that exposes custom configuration.- Specified by:
newOptionsin interfaceVertxTracerFactory- Parameters:
jsonObject- json provided by the user- Returns:
- new tracing options
-