public class OpenTelemetryTracingFactory extends Object implements VertxTracerFactory
NOOP
Constructor and Description |
---|
OpenTelemetryTracingFactory() |
OpenTelemetryTracingFactory(io.opentelemetry.api.OpenTelemetry openTelemetry) |
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<?,?> |
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 OpenTelemetryTracingFactory()
public OpenTelemetryTracingFactory(io.opentelemetry.api.OpenTelemetry openTelemetry)
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 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.