public class OpenTracingTracerFactory extends Object implements VertxTracerFactory
NOOP
Constructor and Description |
---|
OpenTracingTracerFactory() |
OpenTracingTracerFactory(io.opentracing.Tracer tracer) |
Modifier and Type | Method and Description |
---|---|
OpenTracingOptions |
newOptions()
Create an empty tracing options.
|
OpenTracingOptions |
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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init
public OpenTracingTracerFactory()
public OpenTracingTracerFactory(io.opentracing.Tracer tracer)
public VertxTracer tracer(TracingOptions options)
VertxTracerFactory
VertxTracer
object.
No specific thread and context can be expected when this method is called.tracer
in interface VertxTracerFactory
options
- the metrics configuration optionpublic OpenTracingOptions newOptions()
VertxTracerFactory
Launcher
class when creating new options when building a CLI Vert.x.newOptions
in interface VertxTracerFactory
public OpenTracingOptions newOptions(JsonObject jsonObject)
VertxTracerFactory
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.newOptions
in interface VertxTracerFactory
jsonObject
- json provided by the userCopyright © 2024 Eclipse. All rights reserved.