Class OpenTelemetryTracingFactory
java.lang.Object
io.vertx.tracing.opentelemetry.OpenTelemetryTracingFactory
- All Implemented Interfaces:
VertxServiceProvider, VertxTracerFactory
-
Field Summary
Fields inherited from interface VertxTracerFactory
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionOpenTelemetryTracingFactory(io.opentelemetry.api.OpenTelemetry openTelemetry) -
Method Summary
Modifier and TypeMethodDescriptionCreate an empty tracing options.newOptions(JsonObject jsonObject) Create tracing options from the providedjsonObject.VertxTracer<?, ?> 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
-
Constructor Details
-
OpenTelemetryTracingFactory
public OpenTelemetryTracingFactory() -
OpenTelemetryTracingFactory
public OpenTelemetryTracingFactory(io.opentelemetry.api.OpenTelemetry openTelemetry)
-
-
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
-