public class OpenTelemetryTracingFactory extends Object implements VertxTracerFactory
NOOP
Constructor and Description |
---|
OpenTelemetryTracingFactory() |
Modifier and Type | Method and Description |
---|---|
TracingOptions |
newOptions()
Create an empty tracing options.
|
TracingOptions |
newOptions(JsonObject jsonObject)
Create tracing options from the provided
jsonObject . |
VertxTracer<io.opentelemetry.api.trace.Span,io.opentelemetry.api.trace.Span> |
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 VertxTracer<io.opentelemetry.api.trace.Span,io.opentelemetry.api.trace.Span> 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 TracingOptions newOptions()
VertxTracerFactory
Launcher
class when creating new options when building a CLI Vert.x.newOptions
in interface VertxTracerFactory
public TracingOptions 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.